diff options
| author | bors <bors@rust-lang.org> | 2017-06-24 22:34:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-24 22:34:08 +0000 |
| commit | bc9822af2eb8f59300354fd7c9336aa1f78304a1 (patch) | |
| tree | c7b993bd2edc922c0f0f40f06a8f5cc8b739b576 /src/librustc_trans | |
| parent | c9bb93576d4484edd1b3c40eb2aea0dfa0788851 (diff) | |
| parent | c130b83bae47777e8a9e1b4cb3d6249cf987c0d6 (diff) | |
| download | rust-bc9822af2eb8f59300354fd7c9336aa1f78304a1.tar.gz rust-bc9822af2eb8f59300354fd7c9336aa1f78304a1.zip | |
Auto merge of #42784 - tlively:wasm-bot, r=alexcrichton
Make wasm32 buildbot test LLVM backend This adds the experimental targets option to configure so it can be used by the builders and changes the wasm32 Dockerfile accordingly. Instead of using LLVM from the emsdk, the builder's emscripten tools now uses the Rust in-tree LLVM, since this is the one built with wasm support.
Diffstat (limited to 'src/librustc_trans')
| -rw-r--r-- | src/librustc_trans/back/link.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_trans/back/link.rs b/src/librustc_trans/back/link.rs index ed42d361d65..a7f205a18a4 100644 --- a/src/librustc_trans/back/link.rs +++ b/src/librustc_trans/back/link.rs @@ -789,6 +789,9 @@ fn link_natively(sess: &Session, if let Some(args) = sess.target.target.options.post_link_args.get(&flavor) { cmd.args(args); } + for &(ref k, ref v) in &sess.target.target.options.link_env { + cmd.env(k, v); + } if sess.opts.debugging_opts.print_link_args { println!("{:?}", &cmd); |
