rust/src/test
Jonathan Turner c816720242 Rollup merge of #36574 - japaric:link-arg, r=alexcrichton
rustc: implement -C link-arg

this flag lets you pass a _single_ argument to the linker but can be
used _repeatedly_. For example, instead of using:

```
rustc -C link-args='-l bar' (..)
```

you could write

```
rustc -C link-arg='-l' -C link-arg='bar' (..)
```

This new flag can be used with RUSTFLAGS where `-C link-args` has
problems with "nested" spaces:

```
RUSTFLAGS='-C link-args="-Tlayout.ld -nostartfiles"'
```

This passes three arguments to rustc: `-C` `link-args="-Tlayout.ld` and
`-nostartfiles"` to `rustc`. That's not what we meant. But this does
what we want:

```
RUSTFLAGS='-C link-arg=-Tlayout.ld -C link-arg=-nostartfiles`
```

cc rust-lang/rfcs#1509

r? @alexcrichton
cc @Zoxc

This needs a test. Any suggestion?
2016-09-26 17:29:47 -07:00
..
codegen Auto merge of #36151 - camlorn:struct_layout_optimization, r=eddyb 2016-09-25 18:47:00 -07:00
codegen-units Auto merge of #36551 - eddyb:meta-games, r=nikomatsakis 2016-09-21 19:17:24 -07:00
compile-fail Auto merge of #36730 - jseyfried:make_macro_rules_invocations_magic, r=nrc 2016-09-26 01:21:00 -07:00
compile-fail-fulldeps Remove irrelevant test. 2016-09-15 21:17:21 +00:00
debuginfo Add s390x support 2016-09-09 22:28:19 +01:00
incremental ICH: Add ability to test the ICH of exported metadata items. 2016-09-23 17:23:23 -04:00
mir-opt librustc_mir: Propagate constants during copy propagation. 2016-09-24 10:47:33 -07:00
parse-fail Remove parsing of obsolete pre-1.0 syntaxes 2016-09-13 23:33:50 +03:00
pretty Implement RFC#1559: allow all literals in attributes. 2016-08-25 13:25:22 -07:00
run-fail Auto merge of #34942 - porglezomp:master, r=sfackler 2016-09-19 19:03:52 -07:00
run-fail-fulldeps Refactor ExtCtxt to use a Resolver instead of a MacroLoader. 2016-09-13 05:31:16 +00:00
run-make Rollup merge of #36574 - japaric:link-arg, r=alexcrichton 2016-09-26 17:29:47 -07:00
run-pass Rollup merge of #36566 - frewsxcv:9837, r=nikomatsakis 2016-09-24 00:15:45 +02:00
run-pass-fulldeps Auto merge of #36154 - nrc:proc-macro-init, r=@jseyfried 2016-09-22 16:33:41 -07:00
run-pass-valgrind Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
rustdoc Auto merge of #36293 - liigo:docblock-short, r=steveklabnik 2016-09-14 15:39:23 -07:00
ui Rollup merge of #36498 - jonathandturner:macro_std_lib, r=nikomatsakis 2016-09-24 00:15:44 +02:00