←back to thread

88 points BrainBacon | 1 comments | | HN request time: 0s | source

This project is inspired by some of the asserts in Unreal engine.

Due to reliance on core_intrinsics it is necessary to develop using nightly Rust, but there are stubs in place so a production build will not require nightly.

I recently released version 0.2 which includes no_std support and adds optional log message arguments to the ensure macro.

Show context
revskill ◴[] No.42193918[source]
What does nightly mean ? I hate that you could not know a specific version of a nightly.
replies(3): >>42193965 #>>42194026 #>>42197811 #
nindalf ◴[] No.42193965[source]
The master branch of the Rust repo is built every night and distributed. That's a nightly build. Most people are on the stable release, which is updated every six weeks.

A minority use the nightly build for various reasons: a feature that hasn't reached stable yet, or because they want to help test the nightly releases and prevent bugs from reaching stable.

replies(1): >>42194032 #
jtrueb ◴[] No.42194032[source]
Is it a minority? Are there stats posted for this?

Only recently have I had some projects switching to stable after their required features stabilized.

replies(2): >>42194079 #>>42197108 #
1. JoshTriplett ◴[] No.42194079{3}[source]
https://raw.githubusercontent.com/rust-lang/surveys/main/sur...

89.4% of users surveyed use stable. 31.1% use nightly, but there's overlap there (e.g. I use nightly to try out new things but don't build things that depend on nightly). Only 11.5% of people say they use a crate that requires it.