reverie icon indicating copy to clipboard operation
reverie copied to clipboard

Compile with a stable Rust

Open woodruffw opened this issue 5 years ago • 3 comments

We should aim to support compilation and use with a stable Rust release, to avoid encountering nightly bugs and depending on unstable APIs.

Some items that need to be handled:

  • [ ] Reverie currently uses the unstable std::test and #[bench]. We should probably use criterion instead.
  • [x] Reverie uses #[feature(stdsimd)] since the MMX intrinsics were never stabilized. Once they're removed in favor of SSE2 and AVX2, we can remove this #[feature]. (#4)

woodruffw avatar Oct 27 '20 18:10 woodruffw

Criterion looks like a little bit of a mess. Instead, we can keep using #[bench] and move all benchmarks under benches/ to avoid polluting the main source tree with unstable uses.

woodruffw avatar Oct 27 '20 18:10 woodruffw

Merging #4 and #7 will allow some progress by unmooring us from the current nightly-2020-08-01 and allowing us to use any relatively recent nightly.

woodruffw avatar Oct 27 '20 20:10 woodruffw

Just revisiting: we now support recent nightlies, but #[bench] is still unstable. So we're stuck on nightly builds for the foreseeable future here.

woodruffw avatar Nov 01 '22 19:11 woodruffw