Last active
September 28, 2022 14:16
-
-
Save stnbu/4359ec1d25620a0f6b25d517a5c0357b to your computer and use it in GitHub Desktop.
Fast Bevy Dev Build -- all tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.cargo/config.toml b/.cargo/config.toml | |
new file mode 100644 | |
index 0000000..f51f913 | |
--- /dev/null | |
+++ b/.cargo/config.toml | |
@@ -0,0 +1,2 @@ | |
+[target.x86_64-apple-darwin] | |
+rustflags = ["-C", "link-arg=-fuse-ld=/Users/mburr/bin/zld"] | |
diff --git a/Cargo.toml b/Cargo.toml | |
index 0d54bf7..50c2f97 100644 | |
--- a/Cargo.toml | |
+++ b/Cargo.toml | |
@@ -6,4 +6,10 @@ edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
-bevy = "0.8.1" | |
+bevy = { version = "0.8.1", features = ["dynamic"] } | |
+ | |
+[profile.dev] | |
+opt-level = 1 | |
+ | |
+[profile.dev.package."*"] | |
+opt-level = 3 | |
diff --git a/rust-toolchain.toml b/rust-toolchain.toml | |
new file mode 100644 | |
index 0000000..5d56faf | |
--- /dev/null | |
+++ b/rust-toolchain.toml | |
@@ -0,0 +1,2 @@ | |
+[toolchain] | |
+channel = "nightly" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment