We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
crate_types
Session
GlobalCtxt
1 parent 5dd98a4 commit b107241Copy full SHA for b107241
src/driver/jit.rs
@@ -98,7 +98,7 @@ pub(crate) fn run_jit(tcx: TyCtxt<'_>, backend_config: BackendConfig) -> ! {
98
tcx.sess.fatal("JIT mode doesn't work with `cargo check`");
99
}
100
101
- if !tcx.sess.crate_types().contains(&rustc_session::config::CrateType::Executable) {
+ if !tcx.crate_types().contains(&rustc_session::config::CrateType::Executable) {
102
tcx.sess.fatal("can't jit non-executable crate");
103
104
0 commit comments