Skip to content

Commit

Permalink
Merge pull request #1347 from hermit-os/nightly-2024-08-01
Browse files Browse the repository at this point in the history
chore: upgrade toolchain channel to `nightly-2024-07-01`
  • Loading branch information
mkroening authored Aug 1, 2024
2 parents 273c183 + 4bd1403 commit 1e93e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2024-07-01"
channel = "nightly-2024-08-01"
components = [
"llvm-tools",
"rust-src",
Expand Down
5 changes: 2 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,8 @@ fn boot_processor_main() -> ! {
extern "C" {
static mut __bss_start: u8;
}
info!("BSS starts at {:p}", unsafe {
core::ptr::addr_of_mut!(__bss_start)
});
let bss_ptr = core::ptr::addr_of_mut!(__bss_start);
info!("BSS starts at {bss_ptr:p}");
info!("tls_info = {:#x?}", kernel::boot_info().load_info.tls_info);
arch::boot_processor_init();

Expand Down

0 comments on commit 1e93e98

Please sign in to comment.