You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust-lang/rust#122840 changed the way rustdoc passes arguments to rustc for doctest builds, which causes cargo miri test to break. The first symptom is output like
---- src/lib.rs - my_fn (line 37) stdout ----
error: Option 'sysroot' given more than once
Couldn't compile the test.
The deeper cause is that Miri does a lot of scanning and patching of rustc command-line arguments, and if those arguments are hidden in a file then everything breaks.