We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extern crate alloc
no_std
1 parent 30966f3 commit b604f56Copy full SHA for b604f56
src/phy/fuzz_injector.rs
@@ -1,8 +1,6 @@
1
-extern crate alloc;
2
-use alloc::vec::Vec;
3
-
4
use crate::phy::{self, Device, DeviceCapabilities};
5
use crate::time::Instant;
+use alloc::vec::Vec;
6
7
// This could be fixed once associated consts are stable.
8
const MTU: usize = 1536;
src/phy/mod.rs
@@ -97,6 +97,7 @@ use crate::time::Instant;
97
mod sys;
98
99
mod fault_injector;
100
+#[cfg(feature = "alloc")]
101
mod fuzz_injector;
102
#[cfg(feature = "alloc")]
103
mod loopback;
0 commit comments