-
Feature gate: `#![feature(offset_of_enum)]`
This is a tracking issue for using enum variants in offset_of. Enum variants themselves do not have an offset within their type, so the macro will not gi…
-
**Describe the bug**
`Derivative` proc-macro triggers clippy lint https://rust-lang.github.io/rust-clippy/master/index.html#/incorrect_clone_impl_on_copy_type on the latest nightly.
```
error: …
-
https://github.com/plasma-umass/coz
https://blog.acolyer.org/2015/10/14/coz-finding-code-that-counts-with-causal-profling/
It ought to be usable with rust. Just need to figure out the rust equiv…
-
# Writing Python inside your Rust code — Part 2 - Mara's Blog
In this part, we’ll extend our python!{}-macro to be able to seamlessly use Rust variables in the Python code within. We explore a …
-
Here's the list of the Rust compiler errors that the compiler can emit according to https://doc.rust-lang.org/error-index.html. All old errors (i.e. marked with `Note: this error code is no longer emi…
-
I've just noticed [a crate](https://docs.rs/if_rust_version/1.0.0/if_rust_version/macro.if_rust_version.html) that does pretty much the exact same thing I implemented recently. It might be worth using…
-
I was surprised to find that `cargo outdated` produces wildly different output each time I run it. I am unsure how to interpret what is going on here.
Repro:
```console
$ cargo new repro
$ cd …
-
**Version**
benches v0.0.0 (/builds/psumbera/tokio/benches)
└── tokio v1.38.0 (/builds/psumbera/tokio/tokio)
└── tokio-macros v2.3.0 (proc-macro) (/builds/psumbera/tokio/tokio-macros)
…
-
First of all, this is some truely inspired and awesome work. Thank you!
I saw it and had to give it a spin with [simd-json](https://github.com/simd-lite/simd-json/pull/385), the results are great a…
-
I don't know if it's possible, but it would be great if the `bytemuck::cast*` functions where `const fn` so that we could `include_bytes!` into a struct or a list of structs.