-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs::read_to_string(config.src.join("src/ci/channel")) failed with No such file or directory (os error 2) #128233
Comments
(FYI if you are working on developing rust-lang things, https://rust-lang.zulipchat.com/ can be a good place to go for help). |
Mentioning @onur-ozkan, as I'm guessing this would bisect to #125181. |
Try adding rust/src/bootstrap/src/core/config/config.rs Line 1319 in a526d7c
and run From my side, everything works as expected: ~/downloads/rustc-1.80.0-src $ ./x.py build --dry-run
Building bootstrap
Compiling bootstrap v0.0.0 (/home/nimda/downloads/rustc-1.80.0-src/src/bootstrap)
Finished `dev` profile [unoptimized] target(s) in 3.31s
[src/core/config/config.rs:1319:9] config.src.join("src/ci/channel") = "/home/nimda/downloads/rustc-1.80.0-src/src/ci/channel"
WARNING: you have not made a `config.toml`
HELP: consider running `./x.py setup` or copying `config.example.toml` by running `cp config.example.toml config.toml`
Building stage0 library artifacts (x86_64-unknown-linux-gnu)
Building LLVM for x86_64-unknown-linux-gnu
Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu)
Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`)
Building stage1 library artifacts (x86_64-unknown-linux-gnu)
WARNING: no codegen-backends config matched the requested path to build a codegen backend. HELP: add backend to codegen-backends in config.toml.
Building tool rustdoc (stage0 -> stage1, x86_64-unknown-linux-gnu)
WARNING: you have not made a `config.toml`
HELP: consider running `./x.py setup` or copying `config.example.toml` by running `cp config.example.toml config.toml`
NOTE: this message was printed twice to make it more likely to be seen
Build completed successfully in 0:00:03 |
Thanks everyone. I will continue to deal with this issue on Monday. |
My fault. I have not sent src/ci to the build environment for several years, since I do not use CI tools. |
After upgrading from 1.79.0 to 1.80.0, a build error appeared.
$ cat config.toml
last lines of $ RUST_BACKTRACE=full python3 x.py build
build.log
cp src/ci/channel src/bootstrap/src/ci/channel
didn't help. Please tell me how to fix it.The text was updated successfully, but these errors were encountered: