Rustup to rustc 1.46.0-nightly (9d09331e0 2020-07-12)

This commit is contained in:
bjorn3 2020-07-13 19:32:31 +02:00
parent d983813e0f
commit c9d5e7da58
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
nightly-2020-07-09
nightly-2020-07-13

View File

@ -178,8 +178,8 @@ impl CodegenBackend for CraneliftCodegenBackend {
Box::new(crate::metadata::CraneliftMetadataLoader)
}
fn provide(&self, providers: &mut Providers<'_>) {
providers.target_features_whitelist = |tcx, cnum| {
fn provide(&self, providers: &mut Providers) {
providers.supported_target_features = |tcx, cnum| {
assert_eq!(cnum, LOCAL_CRATE);
if tcx.sess.opts.actually_rustdoc {
// rustdoc needs to be able to document functions that use all the features, so
@ -197,7 +197,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
}
};
}
fn provide_extern(&self, _providers: &mut Providers<'_>) {}
fn provide_extern(&self, _providers: &mut Providers) {}
fn target_features(&self, _sess: &Session) -> Vec<rustc_span::Symbol> {
vec![rustc_span::Symbol::intern("cg_clif")]