Skip to content
Snippets Groups Projects
Unverified Commit 5aa798f7 authored by bors[bot]'s avatar bors[bot] Committed by GitHub
Browse files

Merge #671


671: allow the parallel usage of the features pci and newlib r=stlankes a=stlankes

However, in case of newlib the network should not initialize because newlib has its own network stack.

Co-authored-by: Stefan Lankes's avatarStefan Lankes <slankes@eonerc.rwth-aachen.de>
parents 8802a3fc f6d0ed8f
No related branches found
No related tags found
No related merge requests found
Pipeline #938756 passed
......@@ -24,9 +24,6 @@
)]
#![cfg_attr(all(target_os = "none", test), no_main)]
#[cfg(all(feature = "newlib", feature = "pci"))]
compile_error!("feature \"newlib\" and feature \"pci\" cannot be enabled at the same time");
// EXTERNAL CRATES
#[macro_use]
extern crate alloc;
......@@ -262,7 +259,7 @@ extern "C" fn initd(_arg: usize) {
// Initialize Drivers
#[cfg(not(feature = "newlib"))]
arch::init_drivers();
#[cfg(feature = "tcp")]
#[cfg(all(feature = "tcp", not(feature = "newlib")))]
crate::net::init();
syscalls::init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment