File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 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() {
790790 -C opt-level=3[..]\
791791 -C metadata=[..] \
792792 --out-dir [CWD]/target/release/deps \
793+ -C strip=debuginfo \
793794 -L dependency=[CWD]/target/release/deps`
794795[COMPILING] foo v0.0.1 ([CWD])
795796[RUNNING] `rustc --crate-name a examples/a.rs [..]--crate-type bin \
796797 --emit=[..]link \
797798 -C opt-level=3[..]\
798799 -C metadata=[..] \
799800 --out-dir [CWD]/target/release/examples \
801+ -C strip=debuginfo \
800802 -L dependency=[CWD]/target/release/deps \
801803 --extern bar=[CWD]/target/release/deps/libbar-[..].rlib`
802804[FINISHED] release [optimized] target(s) in [..]
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ fn simple() {
8181 "panic": "unwind",
8282 "rpath": false,
8383 "split_debuginfo": "{...}",
84- "strip": "none "
84+ "strip": "{...} "
8585 },
8686 "target": {
8787 "crate_types": [
@@ -126,7 +126,7 @@ fn simple() {
126126 "panic": "unwind",
127127 "rpath": false,
128128 "split_debuginfo": "{...}",
129- "strip": "none "
129+ "strip": "{...} "
130130 },
131131 "target": {
132132 "crate_types": [
@@ -164,7 +164,7 @@ fn simple() {
164164 "panic": "unwind",
165165 "rpath": false,
166166 "split_debuginfo": "{...}",
167- "strip": "none "
167+ "strip": "{...} "
168168 },
169169 "target": {
170170 "crate_types": [
@@ -207,7 +207,7 @@ fn simple() {
207207 "panic": "unwind",
208208 "rpath": false,
209209 "split_debuginfo": "{...}",
210- "strip": "none "
210+ "strip": "{...} "
211211 },
212212 "target": {
213213 "crate_types": [
You can’t perform that action at this time.
0 commit comments