File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
contracts/exec-callee/src Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ use core::result::Result;
55// https://nervosnetwork.github.io/ckb-std/riscv64imac-unknown-none-elf/doc/ckb_std/index.html
66
77use crate :: error:: Error ;
8+ extern crate alloc;
89
910pub fn main ( ) -> Result < ( ) , Error > {
1011 let argv = ckb_std:: env:: argv ( ) ;
Original file line number Diff line number Diff line change 3232#[ macro_export]
3333macro_rules! debug {
3434 ( $fmt: literal) => {
35- #[ cfg( all( debug_assertions, feature = "native-simulator" ) ) ]
36- $crate:: syscalls:: debug( format!( $fmt) ) ;
37- #[ cfg( all( debug_assertions, not( feature = "native-simulator" ) ) ) ]
35+ #[ cfg( debug_assertions) ]
3836 $crate:: syscalls:: debug( alloc:: format!( $fmt) ) ;
3937 } ;
4038 ( $fmt: literal, $( $args: expr) ,+) => {
41- #[ cfg( all( debug_assertions, feature = "native-simulator" ) ) ]
42- $crate:: syscalls:: debug( format!( $fmt, $( $args) , +) ) ;
43- #[ cfg( all( debug_assertions, not( feature = "native-simulator" ) ) ) ]
39+ #[ cfg( debug_assertions) ]
4440 $crate:: syscalls:: debug( alloc:: format!( $fmt, $( $args) , +) ) ;
4541 } ;
4642}
You can’t perform that action at this time.
0 commit comments