Skip to content

bootloader not compiling due to missing compiler-builtins-mem with latest nightly #370

Closed
@iTitus

Description

@iTitus

After the latest nightly update the bootloader 0.11.3 dependency does not compile anymore.
Probably caused by rust-lang/rust#108865.

cargo run
   Compiling bootloader v0.11.3
error: failed to run custom build command for `bootloader v0.11.3`                                                                                                      
                                                                                                                                                                        
Caused by:                                                                                                                                                              
  process didn't exit successfully: `...\target\debug\build\bootloader-3f3360a7d583746b\build-script-build` (exit code: 101)
  --- stderr                                                                                                                                                                                                                                                                          
      Updating crates.io index                                                                                                                                          
    Installing bootloader-x86_64-bios-boot-sector v0.11.3                                                                                                                                                                                                                           
      Updating crates.io index
    Installing bootloader-x86_64-bios-stage-2 v0.11.3
      Updating crates.io index
    Installing bootloader-x86_64-bios-stage-4 v0.11.3
      Updating crates.io index
    Installing bootloader-x86_64-bios-stage-3 v0.11.3
      Updating crates.io index
  warning: package `spin v0.9.5` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
      Updating crates.io index
  error: failed to compile `bootloader-x86_64-bios-boot-sector v0.11.3`, intermediate artifacts can be found at `C:\Users\iTitus\AppData\Local\Temp\cargo-install096Gcd`

  Caused by:
    Package `test v0.0.0 (C:\Users\iTitus\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\test)` does not have the feature `compiler-builtins-mem`
  thread 'main' panicked at 'failed to build bios boot sector', C:\Users\iTitus\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bootloader-0.11.3\build.rs:151:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  error: failed to compile `bootloader-x86_64-bios-stage-2 v0.11.3`, intermediate artifacts can be found at `C:\Users\iTitus\AppData\Local\Temp\cargo-installFtwmto`
  error: failed to compile `bootloader-x86_64-bios-stage-4 v0.11.3`, intermediate artifacts can be found at `C:\Users\iTitus\AppData\Local\Temp\cargo-installSRvl3I`

  Caused by:
    Package `test v0.0.0 (C:\Users\iTitus\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\test)` does not have the feature `compiler-builtins-mem`
  error: failed to compile `bootloader-x86_64-bios-stage-3 v0.11.3`, intermediate artifacts can be found at `C:\Users\iTitus\AppData\Local\Temp\cargo-installmnRzgw`

  Caused by:
    Package `test v0.0.0 (C:\Users\iTitus\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\test)` does not have the feature `compiler-builtins-mem`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions