-
For fun, I tried running gccrs with `-fanalyzer `; it seems to work; here's an example of detecting a double-free in `unsafe `code:
https://godbolt.org/z/3PrKTP8bs
```
// This doesn't seem to w…
-
When a C struct has both `packed` and `aligned(N)` attributes, in some cases bindgen generates a Rust struct with a `packed(N)` attribute only that has the correct ABI. (Note, I'm assuming GCC semanti…
-
CCExtractor version: 0.94
# In raising this issue, I confirm the following:
- [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.gith…
-
-
I wonder if it is possible to add an annotation for functions to customize the return type of a function, something like this:
```rust
/// cbindgen:return-type=Foobar
pub extern "C" fn foobar() -…
-
I created this simple example:
```rust
use std::arch::aarch64::*;
fn main() {
let arg = std::env::args().nth(1).unwrap();
let source = unsafe { vld1_u8(arg.as_ptr()) };
print…
-
This issue tracks attempting to build as many Tock libraries as possible with a stable compiler, that is, minimizing the number of `#![feature(...)]` pragmas used in `lib.rs` files.
## Update Feb 2…
-
I am totally new to rust development and started to learn by picking up this game at https://github.com/thiolliere/ruga and couldnt run it because of this error. Thought this can be a good thing to so…
-
This assumption occurs in at least:
* `depends/packages/rust.mk` (see also #4401)
* `rust_test()` in `qa/zcash/full_test_suite.py`.
This ~~is not a high priority, but~~ is motivated by speculatio…
daira updated
2 years ago
-
TL;DR: declare that TiKV runs on westmere-level processors and above. Pass `-march=westmere` to every project we build. Get better optimizations everywhere.
Rationale below.
Today we take some s…
brson updated
5 years ago