Skip to content

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