File tree 3 files changed +15
-13
lines changed
3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ version = "0.1.0"
6
6
[lib ]
7
7
test = false
8
8
9
+ [dependencies ]
10
+ # For more information on this dependency see rust-lang/rust's
11
+ # `src/tools/rustc-std-workspace` folder
12
+ core = { version = " 1.0.0" , optional = true , package = ' rustc-std-workspace-core' }
13
+
9
14
[build-dependencies ]
10
15
cc = { optional = true , version = " 1.0" }
11
16
@@ -32,9 +37,18 @@ mangled-names = []
32
37
# Don't generate lang items for i128 intrisnics and such
33
38
no-lang-items = []
34
39
40
+ # Only used in the compiler's build system
41
+ rustc-dep-of-std = [' c' , ' compiler-builtins' , ' core' ]
42
+
35
43
[[example ]]
36
44
name = " intrinsics"
37
45
required-features = [" c" , " compiler-builtins" ]
38
46
39
47
[workspace ]
40
48
members = [" testcrate" ]
49
+
50
+ [profile .release ]
51
+ panic = ' abort'
52
+
53
+ [profile .dev ]
54
+ panic = ' abort'
Original file line number Diff line number Diff line change @@ -64,18 +64,7 @@ case $1 in
64
64
;;
65
65
esac
66
66
67
- case " $TRAVIS_OS_NAME " in
68
- osx)
69
- # NOTE OSx's nm doesn't accept the `--defined-only` or provide an equivalent.
70
- # Use GNU nm instead
71
- NM=gnm
72
- brew update
73
- brew install binutils
74
- ;;
75
- * )
76
- NM=nm
77
- ;;
78
- esac
67
+ NM=nm
79
68
80
69
if [ -d /target ]; then
81
70
path=/target/${1} /debug/deps/libcompiler_builtins-* .rlib
Original file line number Diff line number Diff line change 11
11
#![ feature( lang_items) ]
12
12
#![ feature( start) ]
13
13
#![ feature( allocator_api) ]
14
- #![ cfg_attr( windows, feature( panic_unwind) ) ]
15
14
#![ no_std]
16
15
17
16
extern crate panic_handler;
You can’t perform that action at this time.
0 commit comments