-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexpand-std.sh
3 lines (3 loc) · 10.1 KB
/
expand-std.sh
1
2
3
env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0-std" CC_x86_64_unknown_linux_gnu="cc" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu" CFG_RELEASE_CHANNEL="dev" CFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXXFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXX_x86_64_unknown_linux_gnu="c++" LIBC_CHECK_CFG="1" RANLIB_x86_64_unknown_linux_gnu="ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="$(pwd)/build/x86_64-unknown-linux-gnu/native" RUSTC="$(pwd)/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="$(pwd)/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--cfg=bootstrap -Zunstable-options --check-cfg=cfg(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/lib" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Dwarnings" RUSTC_REAL="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/rustc" RUSTC_SNAPSHOT="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="$(pwd)/build/x86_64-unknown-linux-gnu/stage0-sysroot" RUSTC_VERBOSE="1" RUSTDOC="$(pwd)/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options --check-cfg=cfg(feature,values(any())) -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(stdarch_intel_sde,values()) --check-cfg=cfg(no_fp_fmt_parse,values()) --check-cfg=cfg(no_global_oom_handling,values()) --check-cfg=cfg(no_rc,values()) --check-cfg=cfg(no_sync,values()) --check-cfg=cfg(backtrace_in_libstd,values()) --check-cfg=cfg(target_env,values(\"libnx\")) --check-cfg=cfg(target_arch,values(\"spirv\",\"nvptx\",\"xtensa\")) -Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version 1.76.0-dev -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\") -Zcrate-attr=warn(rust_2018_idioms)" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options --check-cfg=cfg(feature,values(any())) -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(stdarch_intel_sde,values()) --check-cfg=cfg(no_fp_fmt_parse,values()) --check-cfg=cfg(no_global_oom_handling,values()) --check-cfg=cfg(no_rc,values()) --check-cfg=cfg(no_sync,values()) --check-cfg=cfg(backtrace_in_libstd,values()) --check-cfg=cfg(target_env,values(\"libnx\")) --check-cfg=cfg(target_arch,values(\"spirv\",\"nvptx\",\"xtensa\")) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off -Cprefer-dynamic -Zinline-mir -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\")" RUST_TEST_THREADS="12" WINAPI_NO_BUNDLED_LIBRARIES="1" __CARGO_DEFAULT_LIB_METADATA="bootstrapstd" "$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "expand" "--target" "x86_64-unknown-linux-gnu" "-Zcheck-cfg" "-Zbinary-dep-depinfo" "-j" "12" "--features" " panic-unwind backtrace" "--manifest-path" "$(pwd)/library/sysroot/Cargo.toml" "-p" "std" > expanded-std.rs
env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0-std" CC_x86_64_unknown_linux_gnu="cc" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu" CFG_RELEASE_CHANNEL="dev" CFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXXFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXX_x86_64_unknown_linux_gnu="c++" LIBC_CHECK_CFG="1" RANLIB_x86_64_unknown_linux_gnu="ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="$(pwd)/build/x86_64-unknown-linux-gnu/native" RUSTC="$(pwd)/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="$(pwd)/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--cfg=bootstrap -Zunstable-options --check-cfg=cfg(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/lib" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Dwarnings" RUSTC_REAL="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/rustc" RUSTC_SNAPSHOT="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="$(pwd)/build/x86_64-unknown-linux-gnu/stage0-sysroot" RUSTC_VERBOSE="1" RUSTDOC="$(pwd)/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options --check-cfg=cfg(feature,values(any())) -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(stdarch_intel_sde,values()) --check-cfg=cfg(no_fp_fmt_parse,values()) --check-cfg=cfg(no_global_oom_handling,values()) --check-cfg=cfg(no_rc,values()) --check-cfg=cfg(no_sync,values()) --check-cfg=cfg(backtrace_in_libstd,values()) --check-cfg=cfg(target_env,values(\"libnx\")) --check-cfg=cfg(target_arch,values(\"spirv\",\"nvptx\",\"xtensa\")) -Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version 1.76.0-dev -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\") -Zcrate-attr=warn(rust_2018_idioms)" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options --check-cfg=cfg(feature,values(any())) -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(stdarch_intel_sde,values()) --check-cfg=cfg(no_fp_fmt_parse,values()) --check-cfg=cfg(no_global_oom_handling,values()) --check-cfg=cfg(no_rc,values()) --check-cfg=cfg(no_sync,values()) --check-cfg=cfg(backtrace_in_libstd,values()) --check-cfg=cfg(target_env,values(\"libnx\")) --check-cfg=cfg(target_arch,values(\"spirv\",\"nvptx\",\"xtensa\")) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off -Cprefer-dynamic -Zinline-mir -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\")" RUST_TEST_THREADS="12" WINAPI_NO_BUNDLED_LIBRARIES="1" __CARGO_DEFAULT_LIB_METADATA="bootstrapstd" "$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "expand" "--target" "x86_64-unknown-linux-gnu" "-Zcheck-cfg" "-Zbinary-dep-depinfo" "-j" "12" "--features" " panic-unwind backtrace" "--manifest-path" "$(pwd)/library/sysroot/Cargo.toml" "-p" "core" > expanded-core.rs
env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0-std" CC_x86_64_unknown_linux_gnu="cc" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu" CFG_RELEASE_CHANNEL="dev" CFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXXFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXX_x86_64_unknown_linux_gnu="c++" LIBC_CHECK_CFG="1" RANLIB_x86_64_unknown_linux_gnu="ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="$(pwd)/build/x86_64-unknown-linux-gnu/native" RUSTC="$(pwd)/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="$(pwd)/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--cfg=bootstrap -Zunstable-options --check-cfg=cfg(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/lib" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Dwarnings" RUSTC_REAL="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/rustc" RUSTC_SNAPSHOT="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="$(pwd)/build/x86_64-unknown-linux-gnu/stage0-sysroot" RUSTC_VERBOSE="1" RUSTDOC="$(pwd)/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options --check-cfg=cfg(feature,values(any())) -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(stdarch_intel_sde,values()) --check-cfg=cfg(no_fp_fmt_parse,values()) --check-cfg=cfg(no_global_oom_handling,values()) --check-cfg=cfg(no_rc,values()) --check-cfg=cfg(no_sync,values()) --check-cfg=cfg(backtrace_in_libstd,values()) --check-cfg=cfg(target_env,values(\"libnx\")) --check-cfg=cfg(target_arch,values(\"spirv\",\"nvptx\",\"xtensa\")) -Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version 1.76.0-dev -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\") -Zcrate-attr=warn(rust_2018_idioms)" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options --check-cfg=cfg(feature,values(any())) -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(stdarch_intel_sde,values()) --check-cfg=cfg(no_fp_fmt_parse,values()) --check-cfg=cfg(no_global_oom_handling,values()) --check-cfg=cfg(no_rc,values()) --check-cfg=cfg(no_sync,values()) --check-cfg=cfg(backtrace_in_libstd,values()) --check-cfg=cfg(target_env,values(\"libnx\")) --check-cfg=cfg(target_arch,values(\"spirv\",\"nvptx\",\"xtensa\")) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off -Cprefer-dynamic -Zinline-mir -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\")" RUST_TEST_THREADS="12" WINAPI_NO_BUNDLED_LIBRARIES="1" __CARGO_DEFAULT_LIB_METADATA="bootstrapstd" "$(pwd)/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "expand" "--target" "x86_64-unknown-linux-gnu" "-Zcheck-cfg" "-Zbinary-dep-depinfo" "-j" "12" "--features" " panic-unwind backtrace" "--manifest-path" "$(pwd)/library/sysroot/Cargo.toml" "-p" "alloc" > expanded-alloc.rs