about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2019-03-16 14:56:54 +0800
committerkennytm <kennytm@gmail.com>2019-03-16 22:40:33 +0800
commit8601c79aff521a72565cbd5d4c5ae0ad84080217 (patch)
tree7ecf991d97e6dd0d4e3f2b7c9c01a5aff164c877 /src/test/incremental/thinlto
parent25e4366b4cea8ef52f3d1f1ff4f26df3587ae9f6 (diff)
parent7c59ce9f5db9cb7dbfbd07fab625e2b67aa042f5 (diff)
downloadrust-8601c79aff521a72565cbd5d4c5ae0ad84080217.tar.gz
rust-8601c79aff521a72565cbd5d4c5ae0ad84080217.zip
Rollup merge of #59169 - tmandry:allow-features-flag, r=cramertj
Add `-Z allow_features=...` flag

Adds a compiler option to allow only whitelisted features.

For projects on nightly that want to prevent feature-creep (and maybe, someday, move off of nightly). Not being able to enforce this has been a problem on Fuchsia and at other big companies.

This doesn't support filtering edition feature flags, but someone is welcome to add that if they need it.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions