File tree Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ edition = "2018"
77[dependencies ]
88bootloader = " 0.9.7"
99x86_64 = " 0.11.0"
10+ rlibc = " 1.0.0"
1011
1112[package .metadata .bootimage ]
1213test-success-exit-code = 33 # (0x10 << 1) | 1
Original file line number Diff line number Diff line change 44#![ test_runner( crate :: test_runner) ]
55#![ reexport_test_harness_main = "test_main" ]
66
7+ extern crate rlibc;
8+
79/// add two numbers
810///
911/// ```
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ harness = false
1111[dependencies ]
1212bootloader = " 0.9.7"
1313x86_64 = " 0.11.0"
14+ rlibc = " 1.0.0"
1415
1516[package .metadata .bootimage ]
1617test-success-exit-code = 33 # (0x10 << 1) | 1
Original file line number Diff line number Diff line change 55#![ test_runner( crate :: test_runner) ]
66#![ reexport_test_harness_main = "test_main" ]
77
8+ extern crate rlibc;
9+
810pub fn test_runner ( tests : & [ & dyn Fn ( ) ] ) {
911 for test in tests. iter ( ) {
1012 test ( ) ;
You can’t perform that action at this time.
0 commit comments