From e111d04e45fdcbec153289cd3b0c1b3415f6b1b4 Mon Sep 17 00:00:00 2001 From: Kenneth Brooks Date: Wed, 3 May 2023 22:47:43 -0400 Subject: [PATCH 1/2] Removing outdated note about Windows support for dynamic_linking --- content/learn/book/getting-started/setup/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learn/book/getting-started/setup/_index.md b/content/learn/book/getting-started/setup/_index.md index 157716a9f4..c8a4bab062 100644 --- a/content/learn/book/getting-started/setup/_index.md +++ b/content/learn/book/getting-started/setup/_index.md @@ -145,7 +145,7 @@ You might think to simply develop in release mode instead, but we recommend agai Bevy can be built just fine using default configuration on stable Rust. However for maximally fast iterative compiles, we recommend the following configuration: -* **Enable Bevy's Dynamic Linking Feature**: This is the most impactful compilation time decrease! If `bevy` is a dependency, you can compile the binary with the "dynamic" feature flag (enables dynamic linking). Note that right now, this doesn't work on Windows. +* **Enable Bevy's Dynamic Linking Feature**: This is the most impactful compilation time decrease! If `bevy` is a dependency, you can compile the binary with the "dynamic" feature flag (enables dynamic linking). ```sh cargo run --features bevy/dynamic_linking From d40ce824dd979302a9a14f4727adf373ddde887f Mon Sep 17 00:00:00 2001 From: Kenneth Brooks Date: Mon, 8 May 2023 10:26:00 -0400 Subject: [PATCH 2/2] Update content/learn/book/getting-started/setup/_index.md Co-authored-by: Paul Hansen --- content/learn/book/getting-started/setup/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learn/book/getting-started/setup/_index.md b/content/learn/book/getting-started/setup/_index.md index c8a4bab062..ab070597d8 100644 --- a/content/learn/book/getting-started/setup/_index.md +++ b/content/learn/book/getting-started/setup/_index.md @@ -145,7 +145,7 @@ You might think to simply develop in release mode instead, but we recommend agai Bevy can be built just fine using default configuration on stable Rust. However for maximally fast iterative compiles, we recommend the following configuration: -* **Enable Bevy's Dynamic Linking Feature**: This is the most impactful compilation time decrease! If `bevy` is a dependency, you can compile the binary with the "dynamic" feature flag (enables dynamic linking). +* **Enable Bevy's Dynamic Linking Feature**: This is the most impactful compilation time decrease! If `bevy` is a dependency, you can compile the binary with the "dynamic_linking" feature flag (enables dynamic linking). **Important!** On Windows you _must_ also enable the [perfomance optimizations](#compile-with-performance-optimizations) or you will get a [`too many exported symbols`](https://github.com/bevyengine/bevy/issues/1110#issuecomment-1312926923) error. ```sh cargo run --features bevy/dynamic_linking