Building the tutorial code with bevy/dynamic on Windows 10 raises error
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
0.5
## Operating system & version
Windows 10 Version Dev (OS Build 21364.1000)
## What you did
`cargo run --features bevy/dynamic` running against the code that is set up as directed on [this](https://bevyengine.org/learn/book/getting-started/plugins/) page of the book.
## What you expected to happen
The code would have run exactly the same as if I'd left off `--features bevy/dynamic`, but compile slower.
## What actually happened
The code compiled about as fast but it raises this error:
```
error: process didn't exit successfully: `target\debug\shodokan.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)
```
## Additional information
The [repo in question](https://github.com/mattdeboard/shodokan).
Here is my `.cargo/config.toml` file (**Note:** `"-Zshare-generics=off"`; I did that because I was having same issue from #1110. Setting generics=`off` seemed to resolve my `LNK1189` problem for the time being.):
```toml
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
# `brew install michaeleisel/zld/zld`
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=off"]
```
Here is my `Cargo.toml`:
```toml
[package]
name = "shodokan"
version = "0.1.0"
authors = ["Matt DeBoard "]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# bevy = { version = "0.5", features = ["dynamic"] }
bevy = "0.5"
```
Contributor guide
Assessment
This issue has not been assessed yet.