Skip to content
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

rust: rebuild #20404

Closed
wants to merge 1 commit into from
Closed

rust: rebuild #20404

wants to merge 1 commit into from

Conversation

filnet
Copy link
Contributor

@filnet filnet commented Mar 22, 2024

Building the latest Rust on CLANG32 fails. See #20397.

I wan't to confirm that it could be related to the toolchain by rebuilding the currrent version.

@filnet filnet closed this Mar 22, 2024
@filnet
Copy link
Contributor Author

filnet commented Mar 25, 2024

My attempt at rebuilding Rust 1.76.0 (see #20404) failed on all platforms with crazy errors like:

   68 | const SMALL_POW5: [(u64, usize); 3] = [(125, 3), (15625, 6), (1_220_703_125, 13)];
     |                                  -    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 0 elements, found one with 3 elements
     |                                  |
     |                                  help: consider specifying the actual array length: `3`
     |
     = note: expected array `[(u64, usize); 0]`
                found array `[(u64, usize); 3]`

It also emitted these warnings while building the bootstrap:

 WARNING: The `change-id` is missing in the `config.toml`. This means that you will not be able to track the major changes made to the bootstrap configurations.
NOTE: to silence this warning, add `change-id = 118703` at the top of `config.toml`
warning: the feature `lang_items` is internal to the compiler or standard library
  --> C:\_\B\src\rustc-1.76.0-src\library\rtstartup\rsbegin.rs:16:12
   |
16 | #![feature(lang_items)]
   |            ^^^^^^^^^^
   |
   = note: using it is strongly discouraged
   = note: `#[warn(internal_features)]` on by default

warning: 1 warning emitted

warning: the feature `lang_items` is internal to the compiler or standard library
 --> C:\_\B\src\rustc-1.76.0-src\library\rtstartup\rsend.rs:4:12
  |
4 | #![feature(lang_items)]
  |            ^^^^^^^^^^
  |
  = note: using it is strongly discouraged
  = note: `#[warn(internal_features)]` on by default

warning: 1 warning emitted

@filnet filnet mentioned this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant