Skip to content

Commit

Permalink
config: change a feature name
Browse files Browse the repository at this point in the history
* rename feature "dynamic_linking" to "fast_compile"
  • Loading branch information
Sycrosity committed Sep 1, 2023
1 parent 30aaa6b commit e825515
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 2 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ serde = "1"
anyhow = "1"
#pseudo random number generation
rand = "0.8.5"
indexmap = { version = "2.0.0", features = ["serde"] }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy_rapier2d = { version = "0.22.0", features = ["parallel"]}
Expand All @@ -48,7 +47,7 @@ bevy_rapier2d = { version = "0.22.0", features = ["wasm-bindgen"]}
[features]
default = ["debug"]

dynamic_linking = ["bevy/dynamic_linking"]
fast_compile = ["bevy/dynamic_linking"]
ci_testing = ["bevy/bevy_ci_testing"]

debug = ["bevy_editor_pls"]
Expand All @@ -73,17 +72,6 @@ inherits = "dev"
debug = 1
# debug-assertions = false
incremental = false

[profile.actions.package."*"]
opt-level = 0

[profile.actions-windows]
inherits = "actions"
opt-level = 1

#windows will otherwise result in a "too many symbols" error
[profile.actions-windows.package."*"]
opt-level = 2

# #Release optimisations
# [profile.release]
# lto = "thin"
4 changes: 2 additions & 2 deletions bacon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ need_stdout = false
[jobs.build-fast-compile]
command = [
"cargo", "build",
"--features", "dynamic_linking",
"--features", "fast_compile",
"--color", "always"
]
need_stdout = false
Expand Down Expand Up @@ -83,7 +83,7 @@ allow_warnings = true
command = [
"cargo", "run",
"--color", "always",
"--features", "dynamic_linking"
"--features", "fast_compile"
# put launch parameters for your program behind a `--` separator
]
need_stdout = true
Expand Down

0 comments on commit e825515

Please sign in to comment.