File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -790,13 +790,15 @@ fn example_with_release_flag() {
790
790
-C opt-level=3[..]\
791
791
-C metadata=[..] \
792
792
--out-dir [CWD]/target/release/deps \
793
+ -C strip=symbols \
793
794
-L dependency=[CWD]/target/release/deps`
794
795
[COMPILING] foo v0.0.1 ([CWD])
795
796
[RUNNING] `rustc --crate-name a examples/a.rs [..]--crate-type bin \
796
797
--emit=[..]link \
797
798
-C opt-level=3[..]\
798
799
-C metadata=[..] \
799
800
--out-dir [CWD]/target/release/examples \
801
+ -C strip=symbols \
800
802
-L dependency=[CWD]/target/release/deps \
801
803
--extern bar=[CWD]/target/release/deps/libbar-[..].rlib`
802
804
[FINISHED] release [optimized] target(s) in [..]
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ fn simple() {
81
81
"panic": "unwind",
82
82
"rpath": false,
83
83
"split_debuginfo": "{...}",
84
- "strip": "none "
84
+ "strip": "{...} "
85
85
},
86
86
"target": {
87
87
"crate_types": [
@@ -126,7 +126,7 @@ fn simple() {
126
126
"panic": "unwind",
127
127
"rpath": false,
128
128
"split_debuginfo": "{...}",
129
- "strip": "none "
129
+ "strip": "{...} "
130
130
},
131
131
"target": {
132
132
"crate_types": [
@@ -164,7 +164,7 @@ fn simple() {
164
164
"panic": "unwind",
165
165
"rpath": false,
166
166
"split_debuginfo": "{...}",
167
- "strip": "none "
167
+ "strip": "{...} "
168
168
},
169
169
"target": {
170
170
"crate_types": [
@@ -207,7 +207,7 @@ fn simple() {
207
207
"panic": "unwind",
208
208
"rpath": false,
209
209
"split_debuginfo": "{...}",
210
- "strip": "none "
210
+ "strip": "{...} "
211
211
},
212
212
"target": {
213
213
"crate_types": [
You can’t perform that action at this time.
0 commit comments