Comments (5)
somehow Miri searches for its sysroot in stage0-sysroot
instead of its own built sysroot?
from rust.
When executing Miri:
[src/tools/miri/src/bin/miri.rs:359:5] std::env::var("MIRI_SYSROOT") = Ok(
"/home/nora/projects/rust/build/x86_64-unknown-linux-gnu/miri-sysroot",
)
[src/tools/miri/src/bin/miri.rs:360:5] std::env::args().collect::<Vec<_>>() = [
"build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/miri",
"--target",
"x86_64-unknown-linux-gnu",
"uwu2.rs",
]
I thought the sysroot was passed to the process with --sysroot
, but I cannot find such an argument... how exactly does it find stage0-sysroot
from this... I don't really understand how that works. But this may help.
from rust.
I see, it gets the sysroot because librustc_driver.so
is in stage0-sysroot
. Slightly strange, that sysroot is not really one it can use. Why is it linked from there? But either way, the sysroot we want to use for Miri here is an entirely different one that needs to be override manually. How did that work previously?
from rust.
oh lol, this was almost certainly broken by rust-lang/miri#3411, in which you even specifically mentioned x.py run
, looks like you forgot about it :D
from rust.
from rust.
Related Issues (20)
- Complete tier 3 target information HOT 11
- Inappropriate `unused_parens` for inline `const` inside `vec!`/macros HOT 1
- Inline `const` expression inside `vec!`/macros should suggest adding parentheses under edition <2024 HOT 2
- ICE: layout: :evergreen_tree: : `Size != Size` HOT 5
- Running run-make tests performs unnecessary rebuilds HOT 7
- this function depends on never type fallback being `()` HOT 9
- please update src/stage0 for beta branch HOT 3
- An unused output of some macros in std (e.g., `format!()`) should produce a unused_must_use warning.
- Tracking Issue for async drop codegen HOT 1
- Error tainting in parallel compiler HOT 2
- Cargo check internal error (using UOM library) HOT 5
- document for E0502 insufficiently general
- "deny" lints are ignored in macro expansion HOT 1
- Trait bound order-dependent type errors using non_lifetime_binders HOT 1
- ICE: incr: `no entry found for key` HOT 4
- Compiler hangs on recursive HRTB HOT 2
- Regression between nightlies with `-Zpolonius` HOT 4
- ICE: `assertion failed: matches!(diagnostic.level, Error | Warning | Allow)` HOT 2
- "rustc-LLVM ERROR: underestimated function size" on thumbv6m-none-eabi HOT 6
- `invalid_value` does not warn when transmuting from a unit struct to an uninhabited type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.