Skip to content

Commit

Permalink
rustc-1.63.0-0: Build with vendor sources
Browse files Browse the repository at this point in the history
The build fails without it as addr2line 0.16.0 cannot be downloaded [1].

      Downloaded 49 crates (3.7 MB) in 0.48s
        Finished dev [unoptimized] target(s) in 44.74s
    warning: x.py has made several changes recently you may want to look at
    help: consider looking at the changes in `src/bootstrap/CHANGELOG.md`
    note: to silence this warning, add `changelog-seen = 2` at the top of `config.toml`
    Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
    error: failed to download `addr2line v0.16.0`

    Caused by:
      attempting to make an HTTP request, but --frozen was specified

Use vendored sources [2]:

    # Indicate whether the vendored sources are used for Rust dependencies or not
    #vendor = false

[1]: https://github.com/rust-lang/rust/issues/100459
[2]: https://github.com/rust-lang/rust/blob/75b7e52e92c3b00fc891b47f5b2efdff0a2be55a/config.toml.example#L261-L262
  • Loading branch information
pmenzel committed Aug 13, 2022
1 parent c22340d commit 0f4691d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rustc-1.63.0-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ docs = false
# install cargo as well as rust
extended = true
vendor = true
[install]
# Adjust the prefix for the desired destination
prefix = "$PREFIX"
Expand Down

0 comments on commit 0f4691d

Please sign in to comment.