-
This has existed for a few years:
https://www.haskell.org/haskellwiki/MetaHDBC
Essentially parses the query and generates type-safe code function @ compile time. Not sure how much of that is possibl…
-
The following example:
```rust
macro_rules! foo {
() => {
&1;
};
}
fn main() {
foo!();
foo!();
}
```
generates a suggestion (on beta 1.55) to insert a fix lik…
ehuss updated
5 months ago
-
First off: thanks for the crate, it makes getting started writing tests pretty easy to work with.
In regular (standard, not async) Rust we can do:
```rust
#[cfg(test)]
mod tests {
use sup…
-
Even with qsort example
```
mkdir ../build
cd ../build
cmake ../qsort -DCMAKE_EXPORT_COMPILE_COMMANDS=1
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 1…
-
## Environment
* **IntelliJ Rust plugin version:** 0.4.195.5408-231
* **Rust toolchain version:** nightly / current [rust-lang/rust](https://github.com/rust-lang/rust) git checkout
* **IDE na…
-
Currently `serde_json` (and optionally `ureq`) are used to (download and) parse datafile at runtime.
It might be possible to perform the datafile parse at compile time.
See: https://doc.rust-lang.…
-
I am trying to build `halo2-lib` by cloning the community-edition from this repository and running `cargo build`. I am running into an error which is shown below.
```
vikra@MSI MINGW64 /C/Users/vi…
-
From @nbdd0121 https://github.com/Rust-for-Linux/linux/pull/346#issuecomment-854846323:
> It's a shame that bindgen can't handle static inline functions and c2rust can't handle macros :(
>
> It …
-
My understanding is if I don't have a prior portaudio installation on my system, this build should download it and we're good to go. That doesn't seem to be the case, however. This is my full terminal…
-
> [!note]
> _Edit bromeon: updated problem description._
When disabling the default constructor via `#[class(no_init)]`, the class can no longer be reloaded. Godot uses this as a reason to disable…