about summary refs log tree commit diff
path: root/src/libsyntax/ext/source_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-05-12 07:33:10 +0000
committerbors <bors@rust-lang.org>2017-05-12 07:33:10 +0000
commite19ccb71c8427135a69d874623af68422aeeb9e9 (patch)
treec43c66cddaea88b74c3243c20d82c09fea9d0b13 /src/libsyntax/ext/source_util.rs
parent141e8a6a0203d546b9775ba6ecdc5eb1d748c3d4 (diff)
parent5013952e4a1b15198c3569fdcb9890af70f06ab9 (diff)
downloadrust-e19ccb71c8427135a69d874623af68422aeeb9e9.tar.gz
rust-e19ccb71c8427135a69d874623af68422aeeb9e9.zip
Auto merge of #41757 - alexcrichton:stabilize-crt-static, r=japaric
rustc: Stabilize `-C target-feature=+crt-static`

This commit stabilizes the `crt-static` feature accepted by the compiler. Note
that this does not stabilize the `#[cfg]` attribute for `crt-static` as
that's going to be covered by #29717. This only stabilizes a few small pieces:

* The `crt-static` feature as accepted by the `-C target-feature` flag, and its
  connection with the platform-specific definition of `crt-static`.
* The semantics of `--print cfg` printing out activated `crt-static` feature, if
  available.

This should be enough to get the benefits of `crt-static` on stable Rust with
MSVC and with musl, but sidsteps the issue of stabilizing #29717 first.

Closes #37406
Diffstat (limited to 'src/libsyntax/ext/source_util.rs')
0 files changed, 0 insertions, 0 deletions