chore: strip was stabilized
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -62,7 +62,6 @@ jobs:
|
||||
run: |
|
||||
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
|
||||
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
|
||||
export RUSTFLAGS="-Z strip=symbols"
|
||||
./misc/build_cross.sh ${{ matrix.target }}
|
||||
|
||||
- name: rename and compress artifacts
|
||||
@@ -121,7 +120,6 @@ jobs:
|
||||
run: |
|
||||
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
|
||||
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
|
||||
export RUSTFLAGS="-Z strip=symbols"
|
||||
cargo build --release --target ${{ matrix.target }} -p leaf-bin
|
||||
|
||||
- name: rename and compress artifacts
|
||||
@@ -156,7 +154,6 @@ jobs:
|
||||
#
|
||||
# - name: build
|
||||
# run: |
|
||||
# export RUSTFLAGS="-Z strip=symbols"
|
||||
# make ios
|
||||
#
|
||||
# - name: zip artifacts
|
||||
|
||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -42,7 +42,6 @@ jobs:
|
||||
run: |
|
||||
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
|
||||
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
|
||||
export RUSTFLAGS="-Z strip=symbols"
|
||||
./misc/build_cross.sh ${{ matrix.target }}
|
||||
|
||||
- name: rename and compress artifacts
|
||||
@@ -97,7 +96,6 @@ jobs:
|
||||
run: |
|
||||
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
|
||||
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
|
||||
export RUSTFLAGS="-Z strip=symbols"
|
||||
cargo build --release --target ${{ matrix.target }} -p leaf-bin
|
||||
|
||||
- name: rename and compress artifacts
|
||||
@@ -132,7 +130,6 @@ jobs:
|
||||
#
|
||||
# - name: build
|
||||
# run: |
|
||||
# export RUSTFLAGS="-Z strip=symbols"
|
||||
# make ios
|
||||
#
|
||||
# - name: zip artifacts
|
||||
|
||||
@@ -12,6 +12,7 @@ opt-level = 3
|
||||
lto = true
|
||||
# codegen-units = 1
|
||||
panic = "abort"
|
||||
strip = "symbols"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
|
||||
@@ -2,5 +2,4 @@
|
||||
passthrough = [
|
||||
"CFG_COMMIT_HASH",
|
||||
"CFG_COMMIT_DATE",
|
||||
"RUSTFLAGS",
|
||||
]
|
||||
|
||||
2
Makefile
2
Makefile
@@ -7,7 +7,7 @@ ios-dev:
|
||||
cbindgen --config leaf-ffi/cbindgen.toml leaf-ffi/src/lib.rs > target/universal/debug/leaf.h
|
||||
|
||||
ios-opt:
|
||||
RUSTFLAGS="-Z strip=symbols" cargo lipo --release --targets aarch64-apple-ios --manifest-path leaf-ffi/Cargo.toml --no-default-features --features "default-openssl"
|
||||
cargo lipo --release --targets aarch64-apple-ios --manifest-path leaf-ffi/Cargo.toml --no-default-features --features "default-openssl"
|
||||
cbindgen --config leaf-ffi/cbindgen.toml leaf-ffi/src/lib.rs > target/universal/release/leaf.h
|
||||
|
||||
lib:
|
||||
|
||||
Reference in New Issue
Block a user