File tree 4 files changed +6
-0
lines changed
4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ edition = "2018"
7
7
[dependencies ]
8
8
bootloader = " 0.9.7"
9
9
x86_64 = " 0.11.0"
10
+ rlibc = " 1.0.0"
10
11
11
12
[package .metadata .bootimage ]
12
13
test-success-exit-code = 33 # (0x10 << 1) | 1
Original file line number Diff line number Diff line change 4
4
#![ test_runner( crate :: test_runner) ]
5
5
#![ reexport_test_harness_main = "test_main" ]
6
6
7
+ extern crate rlibc;
8
+
7
9
/// add two numbers
8
10
///
9
11
/// ```
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ harness = false
11
11
[dependencies ]
12
12
bootloader = " 0.9.7"
13
13
x86_64 = " 0.11.0"
14
+ rlibc = " 1.0.0"
14
15
15
16
[package .metadata .bootimage ]
16
17
test-success-exit-code = 33 # (0x10 << 1) | 1
Original file line number Diff line number Diff line change 5
5
#![ test_runner( crate :: test_runner) ]
6
6
#![ reexport_test_harness_main = "test_main" ]
7
7
8
+ extern crate rlibc;
9
+
8
10
pub fn test_runner ( tests : & [ & dyn Fn ( ) ] ) {
9
11
for test in tests. iter ( ) {
10
12
test ( ) ;
You can’t perform that action at this time.
0 commit comments