Skip to content

Commit

Permalink
fix: 🐛 Allow linker messages
Browse files Browse the repository at this point in the history
--print-gc-sections will emit messages during linking which is now
forbidden by #![deny(warnings)]
  • Loading branch information
berkus committed Jan 27, 2025
1 parent 3669d19 commit 67ecd55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/chainboot/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![feature(custom_test_frameworks)]
#![test_runner(machine::tests::test_runner)]
#![reexport_test_harness_main = "test_main"]
#![allow(linker_messages)]
#![no_main]
#![no_std]
#![no_builtins]
Expand Down
1 change: 1 addition & 0 deletions machine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#![allow(clippy::nonstandard_macro_braces)] // https://github.com/shepmaster/snafu/issues/296
#![allow(missing_docs)] // Temp: switch to deny
#![deny(warnings)]
#![allow(linker_messages)]
#![allow(unused)]
#![allow(internal_features)]
#![feature(core_intrinsics)]
Expand Down
1 change: 1 addition & 0 deletions nucleus/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#![deny(warnings)]
#![allow(unused)]
#![allow(internal_features)]
#![allow(linker_messages)]
#![feature(ptr_internals)]
#![feature(core_intrinsics)]

Expand Down

0 comments on commit 67ecd55

Please sign in to comment.