File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -352,15 +352,6 @@ impl ConfigInfo {
352
352
None => return Err ( "no host found" . to_string ( ) ) ,
353
353
} ;
354
354
355
- if self . target_triple . is_empty ( ) {
356
- // TODO: set target triple.
357
- // TODO: why do we even need to set target_triple?
358
- // It seems to only be needed for the linker (we could add an environment variable to
359
- // remove this need) and the sysroot (perhaps we could find another way to find it).
360
- // TODO TODO: seems like we would still need OVERWRITE_TARGET_TRIPLE when using a
361
- // json spec file.
362
- // ====> maybe not since we specify both --target and --target-triple.
363
- }
364
355
if self . target_triple . is_empty ( ) {
365
356
self . target_triple = self . host_triple . clone ( ) ;
366
357
}
@@ -374,7 +365,6 @@ impl ConfigInfo {
374
365
if self . target_triple . is_empty ( ) {
375
366
return Err ( "Unknown non-native platform" . to_string ( ) ) ;
376
367
}
377
- // TODO: check if this is still needed.
378
368
linker = Some ( format ! ( "-Clinker={}-gcc" , self . target_triple) ) ;
379
369
self . run_in_vm = true ;
380
370
}
You can’t perform that action at this time.
0 commit comments