about summary refs log tree commit diff
path: root/src/libsyntax/ext/source_util.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-05-04 11:06:51 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-05-04 14:03:04 -0700
commit5013952e4a1b15198c3569fdcb9890af70f06ab9 (patch)
treeee41cf682967bdd44cd1578cf8440eefee15581a /src/libsyntax/ext/source_util.rs
parent222971f7d2a098b4b8b57520452ab475bc5ea45f (diff)
downloadrust-5013952e4a1b15198c3569fdcb9890af70f06ab9.tar.gz
rust-5013952e4a1b15198c3569fdcb9890af70f06ab9.zip
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