-
### Description
Since 1.83, the compiler warns when creating a shared reference to a mutable static:
```rust
static mut FOO: Option = None;
let is_some = unsafe { &FOO }.is_some();
print!("{is_some:…
-
### Checklist
- [X] I've looked through the [issues and pull requests](https://github.com/cross-rs/cross/issues?q=) for similar reports
### Describe your issue
I'm trying to compile a CLI tha…
-
see: https://users.rust-lang.org/t/why-this-does-not-lead-to-recursion/50306/3
I tried this code:
```rust
unsafe impl SliceIndex for usize {
type Output = T;
fn get(self, slice…
-
I'd like to suggest publishing an additional extension variant without the bundled rust-analyzer binary, for two main reasons:
1. Reduce download size and time
2. Enable support for architectures not…
-
-
vscode settings:
```json
{
"rust-analyzer.server.path": "/Users/me/.cargo/bin/ra-multiplex",
}
```
running ra multiplex server
```
/Users/me/.cargo/bin/ra-multiplex server
INFO can…
-
**Description:**
The to_rust_string function uses CStr::from_ptr to convert a raw pointer (*const c_char) into a CStr. However, it does not validate that the pointer meets the necessary safety requir…
lwz23 updated
22 hours ago
-
### Describe the bug
```
LocalSend 1.16.1 (56)
Error: RhttpError.rhttpUnknownError(field0: reqwest::Error { kind: Builder, source: Custom { kind: Other, error: Error { code: -25262, message: "The…
-
refs:
- https://github.com/rust-lang/rust/issues/114544
- https://github.com/rust-lang/rust/pull/116485 which was massively scaled back due to this open question
- https://github.com/rust-lang/rust/…
-
When I updated to Rust 1.81 I noticed that the comment indentation changed. Not sure if this is an intentional breakage or a bug.
I have the following code (formatted with Rust 1.80.1, rustfmt 1.7.0)…