Skip to content

Commit

Permalink
Set using_internal_features to false in Crubit's rustc_interface co…
Browse files Browse the repository at this point in the history
…nfig.

[Commit 9d42b1e2683644d81e37d55468257cd612d906f6](rust-lang/rust@9d42b1e) introduced this flag as part of [the effort](rust-lang/compiler-team#596) to introduce a lint for using internal rustc features (which would also include "perma unstable" rustc features).

PiperOrigin-RevId: 578909357
Change-Id: I6ddd31e961a40ce8697b1b3010758e7bff269e6c
  • Loading branch information
kiwiwarmnfuzzy authored and copybara-github committed Nov 2, 2023
1 parent 477b00d commit 62c71a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cc_bindings_from_rs/run_compiler_test_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ where
locale_resources: rustc_driver::DEFAULT_LOCALE_RESOURCES,
ice_file: None,
expanded_args: vec![],
using_internal_features: std::sync::Arc::new(false.into()),
};

rustc_interface::interface::run_compiler(config, |compiler| {
Expand Down

0 comments on commit 62c71a9

Please sign in to comment.