Ben Schattinger

Results 69 comments of Ben Schattinger

@TheVova Test [like this](https://www.reddit.com/r/rust/comments/ge3itj/how_to_solve_linker_errors_for_compiler_builtins/fpl5sze) if you're not using a custom target and then put it [here](https://doc.rust-lang.org/cargo/reference/config.html?highlight=linker#buildrustflags), or [this](https://github.com/lights0123/ndless-rs/blob/d94082bb4d81e7fcf4295b57ff4807c246a858da/cargo-ndless/src/armv5te-nspire-eabi.json#L14-L18) if you are.

Copy/pasting from the Reddit thread I linked: Me >Thanks so much—`RUSTFLAGS="-Clink-arg=-Wl,--allow-multiple-definition"` works! Is there any problem with leaving that there all the time (I'd integrate it into the `target.json`)? Which...

Demo: https://asteroids-3d.netlify.app/

Cargo.lock ```toml [[package]] name = "bevy" version = "0.5.0" [[package]] name = "bevy_webgl2" version = "0.5.2" ```

https://github.com/lights0123/asteroids_3d/tree/simple-web

Creating a minimal example is... difficult. I had it for a while that removing one plugin would remove the problem, but that plugin did *absolutely nothing*, e.g. the `fn build`...

Here's an example: commit [`ed5bb6e`](https://github.com/lights0123/asteroids_3d/commit/ed5bb6e3e66199e83f770211dcbe808929586937) on that branch will sometimes be red or blue. Commit [`4137ea4`](https://github.com/lights0123/asteroids_3d/commit/4137ea42352f6427ec8ee41e04c8e83fb1188d4f) will generally always be red—however, comment out *either* of [these two parameters](https://github.com/lights0123/asteroids_3d/blob/4137ea42352f6427ec8ee41e04c8e83fb1188d4f/src/asteroids.rs#L127-L128) in this...

nope. I was going to take a look at this, but I don't really like reading datasheets :man_shrugging:

@Rahix Yeah, that's definitely possible. However, it will still introduce problems with third-party crates—things from the `futures` crate that work without `alloc`, for example.

@jeremysalwen I've taken a break from this (well, because of this issue), but if you'd like to follow along, it looks like someone else is working on an executor based...