Skip to content

Commit af8d3f9

Browse files
committed
Revert "feat: 添加trim-paths功能以优化构建"
This reverts commit ea203e6.
1 parent 0241394 commit af8d3f9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
cargo-features = ["trim-paths"]
16-
1715
[package]
1816
name = "fas-rs"
1917
version = "3.9.1"
@@ -54,7 +52,6 @@ vergen = { version = "9.0.0", features = ["build", "cargo", "rustc", "si"] }
5452
overflow-checks = false
5553
opt-level = 3
5654
strip = true
57-
trim-paths = true
5855

5956
[profile.release]
6057
debug = true
@@ -63,4 +60,3 @@ codegen-units = 1
6360
lto = "fat"
6461
opt-level = 3
6562
strip = true
66-
trim-paths = true

maketools/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,11 @@ def task(args):
140140
cargo.arg("build --target aarch64-linux-android")
141141
if nightly:
142142
cargo.arg("-Z build-std")
143-
cargo.arg("-Z trim-paths")
144143

145144
if release:
146145
cargo.arg("--release")
146+
if nightly:
147+
cargo.arg("-Z trim-paths")
147148
if verbose:
148149
cargo.arg("--verbose")
149150

0 commit comments

Comments
 (0)