Skip to content

Instantly share code, notes, and snippets.

@amanjeev
Created January 11, 2023 16:40
Show Gist options
  • Save amanjeev/e9fb82c15a41875c5acf883847ad6ae6 to your computer and use it in GitHub Desktop.
Save amanjeev/e9fb82c15a41875c5acf883847ad6ae6 to your computer and use it in GitHub Desktop.
rust compiler tests commands shenanigans
dependency -
command: "/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/aj/proj/rust/rustcompiler/rust/src/test/ui/auxiliary/const_mut_refs_crate.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "--out-dir" "/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/test/ui/const-mut-refs-crate/auxiliary" "-Crpath" "-Cdebuginfo=0" "-Lnative=/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--crate-type" "dylib" "-L" "/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/test/ui/const-mut-refs-crate/auxiliary"
extras -
"-Lnative=/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" \
-C incremental=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/incremental \
"--crate-type" "dylib"
"--crate-type" "lib"
/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc \
../imported/src/lib.rs \
--out-dir /home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps \
-L dependency=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps \
"--crate-type" "dylib"
/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc \
../imported/src/lib.rs \
--out-dir /home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps \
-L dependency=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps \
"--crate-type" "rlib"
/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc \
../imported/src/lib.rs \
--out-dir /home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps \
-L dependency=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps \
"--crate-type" "staticlib"
-------------------------------------------------------------------------------------------------------
main test
command: "/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/home/aj/proj/rust/rustcompiler/rust/src/test/ui/const-mut-refs-crate.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/test/ui/const-mut-refs-crate/a" "-Crpath" "-Cdebuginfo=0" "-Lnative=/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/test/ui/const-mut-refs-crate/auxiliary"
extras
"-Lnative=/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
-C incremental=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/incremental \
-L dependency=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps \
RUSTC_LOG=rustc_metadata=debug
/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc \
/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/src/main.rs \
"-o" "/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/manners" \
"-L" "/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps" \
--extern "imported=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps/liblib.so" \
/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc \
/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/src/main.rs \
"-o" "/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/manners" \
"-L" "/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps" \
--extern imported=/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps/liblib.rlib \
/home/aj/proj/rust/rustcompiler/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc \
/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/src/main.rs \
"-o" "/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/manners" \
"-L" "/home/aj/proj/rust/rustcompiler/const-ref-issue-57349/local/target/debug/deps" \
--extern imported=/home/aj/proj/rust/rustcompiler/const-ref-issue-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment