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
Find the definitive set of intrinics as we will see them in the MIR / SMIR
Strip the instrinsics that we care about
Find appropriate tests to examine intrinsics
Observe that instrinsics are working as we expect and we are handling correctly
Sources
ui/compiletest
cargo build -Z build-std --target <TARGET> e.g. cargo build -Z build-std --target x86_64-unknown-linux-gnu more info can be found in Stephen's hack.md and cargo reference
NOTE: This is a cargo flag not rustc flag.
This will throw attempting to add the flags with smir_pretty with
error: "/home/daniel/Applications/mir-semantics/deps/smir_pretty/deps/rust/src/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/src/rust/library/Cargo.lock" does not exist, unable to build with the standard library, try:
rustup component add rust-src --toolchain smir_serde_derive_intern_scripts
meaning that the the rust-src component is required for the toolchain. However it will not be able to do this for smir_serde_derive_intern_scripts as it is our own fork branch (If there is a way let me know).
But the compiler can be set to the same version the that is the base of the smir_serde_derive_intern_scripts fork with rustup defaulting to the day subsequent to the last rustc commit:
Goal
Sources
cargo build -Z build-std --target <TARGET>
e.g.cargo build -Z build-std --target x86_64-unknown-linux-gnu
more info can be found in Stephen's hack.md and cargo referenceNOTE: This is a
cargo
flag notrustc
flag.This will throw attempting to add the flags with
smir_pretty
withmeaning that the the
rust-src
component is required for the toolchain. However it will not be able to do this forsmir_serde_derive_intern_scripts
as it is our own fork branch (If there is a way let me know).But the compiler can be set to the same version the that is the base of the smir_serde_derive_intern_scripts fork with rustup defaulting to the day subsequent to the last rustc commit:
Then the artefacts of the std-lib can be found in
<PROJECT ROOT>/target/<TARGET>
e.g.hello-world/target/x86_64-unknown-linux-gnu
.Questions for the investigation:
Noticed Behaviour
The text was updated successfully, but these errors were encountered: