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.
1 parent c93735c commit e2b9f6dCopy full SHA for e2b9f6d
Cargo.toml
@@ -32,3 +32,7 @@ uhyve-interface = "0.1"
32
default = []
33
loader = ["log", "goblin", "plain"]
34
kernel = []
35
+
36
+[[test]]
37
+name = "macros"
38
+required-features = ["kernel"]
examples/macros.rs renamed to tests/macros.rs
@@ -1,10 +1,5 @@
1
//! This file tests if the macros defined by the hermit-entry crate,
2
//! which affect linker .note entries, can actually be used.
3
4
-#[cfg(feature = "kernel")]
5
hermit_entry::define_abi_tag!();
6
-
7
8
hermit_entry::define_entry_version!();
9
10
-fn main() {}
0 commit comments