Skip to content

Commit

Permalink
Merge pull request #970 from mkroening/nightly-2023-11-01
Browse files Browse the repository at this point in the history
chore: upgrade to nightly-2023-11-01
  • Loading branch information
mkroening authored Nov 2, 2023
2 parents e0add3d + 2163463 commit a2f521f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 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-2023-10-15"
channel = "nightly-2023-11-01"
components = [
"llvm-tools",
"rust-src",
Expand Down
1 change: 0 additions & 1 deletion src/arch/aarch64/kernel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use hermit_entry::boot_info::{BootInfo, RawBootInfo};

use crate::arch::aarch64::kernel::core_local::*;
use crate::arch::aarch64::kernel::serial::SerialPort;
pub use crate::arch::aarch64::kernel::systemtime::get_boot_time;
use crate::arch::aarch64::mm::{PhysAddr, VirtAddr};
use crate::env;

Expand Down
3 changes: 2 additions & 1 deletion src/arch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ cfg_if::cfg_if! {
pub use self::aarch64::kernel::scheduler;
pub use self::aarch64::kernel::switch;
pub use self::aarch64::kernel::systemtime::get_boot_time;
#[cfg(feature = "smp")]
pub use self::aarch64::kernel::application_processor_init;
pub use self::aarch64::kernel::{
application_processor_init,
boot_application_processors,
get_processor_count,
message_output_init,
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/net/virtio_net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ impl TxQueues {
self.vqs.push(Rc::new(vq));
if self.vqs.len() == 1 {
// Unwrapping is safe, as one virtq will be definitely in the vector.
let vq = self.vqs.get(0).unwrap();
let vq = self.vqs.first().unwrap();

if dev_cfg
.features
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#![feature(maybe_uninit_slice)]
#![feature(naked_functions)]
#![feature(noop_waker)]
#![feature(pointer_byte_offsets)]
#![feature(pointer_is_aligned)]
#![feature(ptr_from_ref)]
#![feature(slice_from_ptr_range)]
Expand Down

0 comments on commit a2f521f

Please sign in to comment.