Crystal Durham
Crystal Durham
Having had some more time to think about it, I'm now shifting much more firmly into thinking that turning `int` and `uint` into _the_ primitive integer types (with `iNN`/`uNN` being...
This could "just" be a change in constant evaluation (miri) to produce a nicer error message, e.g. ```text error[E0080]: constant assertion failed --> src/main.rs:1:15 | 1 | const _: ()...
> I will point out that `static_assert` in C++ is post-monomorphization Small clarification: while C++ (dependent[^1]) `static_assert` is done at template instantiation time, and this is *more eager* than post-monomorphization...
The solution for that is to actually have "`const if`". Semantics should never rely on optimization. (User linker shenanigans notwistanding.)
There is no functionality available to macros to expand to different tokens based on whether it is in item position (outside function) or expression/statement position (inside function). IIRC there was...
(hi, just wandering by) > Need a way to write things like `#if __ANDROID_MIN_SDK_VERSION__ >= 21`. aiui Rust's `#cfg` doesn't support integer inequalities. That's correct; `#[cfg]` currently only supports string...
> Need to support using APIs via weak symbols when the API is not available in the app's minSdkVersion. This also means diagnostics to protect users from calling weak APIs...
See also https://github.com/crate-ci/cargo-ghp-upload where I've extracted the doc upload portion of logic to its own crate. I'm still not exactly certain where cargo-travis stands in crate-ci's plans but it'd be...
cargo-ghp-upload's current interface is backwards compatible with this repo's cargo-doc-upload. It should be fairly simple to write a wrapper that takes `cargo doc-upload ...` and turns it into `cargo ghp-upload`...
I can't speak for @roblabla, but as the author of the doc-upload portion of this library, I'd be happy to move that into the crate-ci org under whatever OSI approved...