Skip to content

Commit f3d229b

Browse files
authored
fix(ci): Don't build native-cpu release binaries (#866)
1 parent c4b1239 commit f3d229b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.cargo/config.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ cliclack = "0.3.6"
2121
console = "0.15.11"
2222
ctrlc = "3.4.5"
2323
fast-float = "0.2.0"
24-
fast_float = "0.2.0"
2524
hashbrown = "0.16.0"
2625
lexical = { version = "7.0.4", default-features = false, features = [
2726
"std",
@@ -54,8 +53,14 @@ wtf8 = "0.1"
5453
[workspace.metadata.dylint]
5554
libraries = [{ path = "nova_lint" }]
5655

56+
# The release profile, used for `cargo build --release`.
5757
[profile.release]
58-
lto = true
58+
# Enables "fat" LTO, for faster release builds
59+
lto = "fat"
60+
# Makes sure that all code is compiled together, for LTO
61+
codegen-units = 1
62+
# Strips debug information and symbols from the binary, reducing its size
63+
strip = "symbols"
5964

6065
# This profile has all the same safety checks as dev builds. It trades slightly
6166
# longer compile times for faster runs, which is worth it when running test262.

0 commit comments

Comments
 (0)