Skip to content

Commit c1bada5

Browse files
humendaatopia
authored andcommitted
get rid of L4_LD_OPTIONS variable
These options can be passed using `-C link-arg`.
1 parent 300d99b commit c1bada5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler/rustc_codegen_ssa/src/back/linker.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,10 +1414,6 @@ impl<'a> L4Bender<'a> {
14141414

14151415
cmd.arg("--"); // separate direct l4-bender args from linker args
14161416

1417-
if let Ok(l4_ld_opts) = env::var("L4_LD_OPTIONS") {
1418-
L4Bender::split_cmd_args(&mut cmd, &l4_ld_opts);
1419-
}
1420-
14211417
L4Bender {
14221418
cmd: cmd,
14231419
sess: sess,

0 commit comments

Comments
 (0)