From 174fe3a93d91193f71e13b84d5da0ddd8479acc0 Mon Sep 17 00:00:00 2001 From: gered Date: Wed, 19 Apr 2023 17:31:48 -0400 Subject: [PATCH] switch to nightly and enable portable_simd feature i really did not want to use nightly, but i think it is worth it for portable_simd which is still nightly-only (and i'm guessing will be for a long while still). i was not particularly enthusiastic about any of the alternative libraries that exist for stable rust simd, as it always seemed like something small was missing from what i knew i would want longer term. --- ggdt/src/lib.rs | 2 ++ rust-toolchain.toml | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 rust-toolchain.toml diff --git a/ggdt/src/lib.rs b/ggdt/src/lib.rs index f382a7b..94c093e 100644 --- a/ggdt/src/lib.rs +++ b/ggdt/src/lib.rs @@ -1,3 +1,5 @@ +#![feature(portable_simd)] + pub mod audio; pub mod base; pub mod entities; diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..271800c --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" \ No newline at end of file