-
I just learned about miri, and I'm trying to use it in a project and I cannot get it to run basically anything, I get errors in very basic "tests". e.g. this one.
```rust
#[cfg(test)]
mod tests {…
-
I'm developing a toy kernel and created a proc-macro for annotation packed structs. Using the macro along with `#[derive(Debug)]` causes an ice.
### Code
src/main.rs
```Rust
extern crate packe…
-
**Input**
```rust
macro_rules! outer {
($d:tt) => {
macro_rules! inner {
($d s:expr) => {
println!("{}", $d s);
}
}
};
}
…
-
The stock syntax file for rust highlights crate::macro! wrong. The syntax in rust.vim works though. See https://github.com/neovim/neovim/issues/13202
I was wondering if you could send the syntax …
-
Would be nice to be able to define styles in CSS format. That makes it easy to prototype and convert to LittlevGL Rust implementation.
Besides the possibility of creating styles like in C code:
``…
-
## Background
I was using Print to display the characters of a string one by one, instead of printing the entire string at once. This made me realize that using a lot of Print commands in a cycle is …
-
#### Problem
The following convenience macro exists to perform add-assign with saturating math:
https://github.com/anza-xyz/agave/blob/9076348ef40e28975796c2ff25460bf3b25d41e4/sdk/src/lib.rs#L168-…
-
Thank you for this library!
We use the rust tracing crate and ran into an issue where the panic hook itself panics on invoking `log::error!` when tracing is in a broken state.
First a tracing m…
-
### Code
I tried this code: cargo itself, building release + debug=2
(multiple versions, but at the time of this report I have cargo `cf53cc54bb593b5ec3dc2be4b1702f50c36d24d5`)
I expected to see thi…
-
## Development Task
There are many uses of `extern crate macro_module` in TiKV. However, we now have macro naming and modularisation according to rust-lang/rfcs#1561. Importing macros from other cr…