Can not compile core

⚓ Rust    📅 2025-10-07    👤 surdeus    👁️ 4      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Can not compile core

Hi I just clone rust repo then got this error.

rust on  master via  via 🐍 v3.13.7 via 🦀 v1.92.0-nightly
❯ ./x build --stage 2  library/std -j 1
Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.09s
Building stage1 compiler artifacts (stage0 -> stage1, x86_64-pc-windows-msvc)
    Finished `release` profile [optimized] target(s) in 0.71s
Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`)
Building stage1 library artifacts (stage1 -> stage1, x86_64-pc-windows-msvc)
   Compiling core v0.0.0 (C:\Users\X\tmp\rust\library\core)
error: could not compile `core` (lib)

Caused by:
  process didn't exit successfully: `C:\Users\X\tmp\rust\build\bootstrap\debug\rustc C:\Users\X\tmp\rust\build\bootstrap\debug\rustc --crate-name core --edition=2024 library\core\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=178 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg cfg(no_fp_fmt_parse) --check-cfg "cfg(feature, values(any()))" --check-cfg cfg(target_has_reliable_f16) --check-cfg cfg(target_has_reliable_f16_math) --check-cfg cfg(target_has_reliable_f128) --check-cfg cfg(target_has_reliable_f128_math) --check-cfg cfg(docsrs,test) --check-cfg "cfg(feature, values(\"debug_refcell\", \"optimize_for_size\", \"panic_immediate_abort\"))" -C metadata=5e4fff465c9bbf02 -C extra-filename=-ae5265ac8f739eba --out-dir C:\Users\X\tmp\rust\build\x86_64-pc-windows-msvc\stage1-std\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\X\tmp\rust\build\x86_64-pc-windows-msvc\stage1-std\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\X\tmp\rust\build\x86_64-pc-windows-msvc\stage1-std\release\deps -Csymbol-mangling-version=legacy --check-cfg=cfg(feature,values(any())) -Zunstable-options -Zmacro-backtrace -Csplit-debuginfo=packed -Ctarget-feature=+crt-static -Cprefer-dynamic -Cllvm-args=-import-instr-limit=10 -Zinline-mir -Zinline-mir-preserve-debug -Zmir_strip_debuginfo=locals-in-tiny-functions -Alinker-messages -Cembed-bitcode=yes -Clto=off -Zunstable-options -Cforce-frame-pointers=non-leaf "-Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\")" -Z binary-dep-depinfo` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Build completed unsuccessfully in 0:00:37

1 post - 1 participant

Read full topic

🏷️ Rust_feed