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.
rlinkage.is_none()
1 parent f651e5f commit 1a0e1feCopy full SHA for 1a0e1fe
compiler/rustc_codegen_llvm/src/gotoc/operand.rs
@@ -334,7 +334,12 @@ impl<'tcx> GotocCtx<'tcx> {
334
// we believe rlinkage being `Some` means the static not extern
335
// based on compiler/rustc_codegen_cranelift/src/linkage.rs#L21
336
// see https://github.com/model-checking/rmc/issues/388
337
- assert!(rlinkage.is_none());
+ //
338
+ // Update: The assertion below may fail in similar environments.
339
+ // We are disabling it until we find out the root cause, see
340
+ // https://github.com/model-checking/rmc/issues/400
341
342
+ // assert!(rlinkage.is_none());
343
344
let span = ctx.tcx.def_span(def_id);
345
Symbol::static_variable(
0 commit comments