Skip to content

Commit

Permalink
Env: Compact exports
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Mar 14, 2022
1 parent fe2f59f commit 6f93f96
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
//! vs. multi-kernel, hypervisor, etc.) as well as central parsing of the
//! command-line parameters.

#[cfg(target_arch = "x86_64")]
pub use crate::arch::x86_64::kernel::{
get_base_address, get_cmdline, get_cmdsize, get_image_size, get_ram_address, get_tls_align,
get_tls_filesz, get_tls_memsz, get_tls_start, is_single_kernel, is_uhyve,
};

#[cfg(target_arch = "aarch64")]
pub use crate::arch::aarch64::kernel::{
pub use crate::arch::kernel::{
get_base_address, get_cmdline, get_cmdsize, get_image_size, get_ram_address, get_tls_align,
get_tls_filesz, get_tls_memsz, get_tls_start, is_single_kernel, is_uhyve,
};
Expand Down

0 comments on commit 6f93f96

Please sign in to comment.