Skip to content

Commit d4e33af

Browse files
committed
add extern crate alloc and core
1 parent 7a516d9 commit d4e33af

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

cranelift/isle/isle/isle_examples/link/borrows_main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
extern crate alloc;
2+
extern crate core;
3+
14
mod borrows;
25

36
#[derive(Clone)]

cranelift/isle/isle/isle_examples/link/iflets_main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
extern crate alloc;
2+
extern crate core;
3+
14
mod iflets;
25

36
struct Context;

cranelift/isle/isle/isle_examples/link/multi_constructor_main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
extern crate alloc;
2+
extern crate core;
3+
14
mod multi_constructor;
25
use multi_constructor::{ContextIter, IntoContextIter};
36

cranelift/isle/isle/isle_examples/link/multi_extractor_main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
extern crate alloc;
2+
extern crate core;
3+
14
mod multi_extractor;
25

36
use multi_extractor::{ContextIter, IntoContextIter};

cranelift/isle/isle/isle_examples/link/test_main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
extern crate alloc;
2+
extern crate core;
3+
14
mod test;
25

36
struct Context;

0 commit comments

Comments
 (0)