We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2905b2c commit 99206a0Copy full SHA for 99206a0
1 file changed
examples/guest/src/main.rs
@@ -3,6 +3,11 @@
3
4
extern crate alloc;
5
6
+const _: () = {
7
+ #[cfg(not(hyperlight))]
8
+ compile_error!("This crate can only be compiled for hyperlight targets");
9
+};
10
+
11
use alloc::format;
12
use alloc::vec::Vec;
13
0 commit comments