From 763acd0ad8aa07214d18b540f729d0c9df36b678 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sat, 17 May 2025 19:16:52 -0400 Subject: [PATCH] Minor comments --- .cargo/config.toml | 1 + rust-toolchain.toml | 1 + src/main.rs | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 59173e3..8099b7a 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,4 @@ [target.x86_64-unknown-linux-gnu] linker = "clang" +# TODO: Share generics when using nightly no longer causes an undefined symbol error rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] #, "-Zshare-generics=y"] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f9f0596..c672579 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] +# TODO: Switch back to nightly when it no longer causes an undefined symbol error channel = "stable" # "nightly" diff --git a/src/main.rs b/src/main.rs index c2b5395..78bfd8f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -66,7 +66,7 @@ fn run_app(settings: AppSettings) -> AppExit { ..default() }), PhysicsPlugins::default().with_length_unit(50.0), - EntropyPlugin::::with_seed(seed.0.to_le_bytes()), // TODO: Tried to make and Into<[u8; 8]> for this but it wants to consume the value + EntropyPlugin::::with_seed(seed.0.to_le_bytes()), // TODO: Tried to make an Into<[u8; 8]> for this but it wants to consume the value )) .add_systems( Startup,