Skip to main content

allow_raw_span_inline_asm_srcloc

Function allow_raw_span_inline_asm_srcloc 

Source
fn allow_raw_span_inline_asm_srcloc(
    sess: &Session,
    bitcode_needed: bool,
) -> bool
Expand description

Whenever inline assembly bitcode is built, its srcloc contains the raw span numbers as location cookies. This is problematic since that is nondeterministic when using the parallel frontend. Even without parallelism, the cookies are meaningless in another rustc session.

Discussion about replacing the cookies with something stable: rust-lang/rust#150451