Skip to content

Commit ba0c3ce

Browse files
authored
Merge pull request hermit-os#68 from fogti/improve-macros-example
refactor: improve the `macros` example
2 parents c93735c + e2b9f6d commit ba0c3ce

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ uhyve-interface = "0.1"
3232
default = []
3333
loader = ["log", "goblin", "plain"]
3434
kernel = []
35+
36+
[[test]]
37+
name = "macros"
38+
required-features = ["kernel"]
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
//! This file tests if the macros defined by the hermit-entry crate,
22
//! which affect linker .note entries, can actually be used.
33
4-
#[cfg(feature = "kernel")]
54
hermit_entry::define_abi_tag!();
6-
7-
#[cfg(feature = "kernel")]
85
hermit_entry::define_entry_version!();
9-
10-
fn main() {}

0 commit comments

Comments
 (0)