Skip to content

A simple Rust library for generating random values using fastrand for Bevy

Notifications You must be signed in to change notification settings

saethlin/rantz_random

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run this a few times:

touch src/lib.rs && RUSTFLAGS="-Zthreads=0 -Zmir-enable-passes=+GVN,+Inline -Zmir-opt-level=1" cargo build

That should produce this ICE:

thread 'rustc' panicked at /rustc/cc8da78a036dc3c15c35a97651b02af9a6d30c1e/compiler/rustc_data_structures/src/sync.rs:337:42:
assertion failed: *old == value
...

note: rustc 1.81.0-nightly (cc8da78a0 2024-07-04) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED] -C opt-level=2 -Z threads=0

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [optimized_mir] optimizing MIR for `fastrand::seed`
#1 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack

About

A simple Rust library for generating random values using fastrand for Bevy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%