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 bd2af5c commit e4fe820Copy full SHA for e4fe820
contract/src/main.rs
@@ -1,14 +1,14 @@
1
-#![cfg_attr(not(feature = "simulator"), no_std)]
2
-#![cfg_attr(not(any(feature = "simulator", test)), no_main)]
+#![no_std]
+#![cfg_attr(not(test), no_main)]
3
4
-#[cfg(any(feature = "simulator", test))]
+#[cfg(test)]
5
extern crate alloc;
6
7
-#[cfg(not(any(feature = "simulator", test)))]
+#[cfg(not(test))]
8
use ckb_std::default_alloc;
9
10
ckb_std::entry!(program_entry);
11
12
default_alloc!();
13
14
pub fn program_entry() -> i8 {
0 commit comments