Alphyr

Results 29 issues of Alphyr

This adds `core::any::try_swap`, a function to swap two `dyn Any` if they have the same type. Tracking issue: #120319 Unresolved Questions: - Name: `try_swap` or `swap` - Should this be...

S-waiting-on-author
T-libs

- Update `actions/checkout` - Replace `actions-rs/toolchain` with manual install - Replace `actions-rs/cargo` by manual commands - Remove redundant "Test documentation" job

This allows reading data from borrowed buffers and such. This is a breaking change, because it adds many lifetimes in codebase. Closes #117

This makes all implementations of `Read` that have a specialized `read_exact` implementation also have one for `read_buf_exact`.

S-waiting-on-review
T-libs

The "Destructors" chapter end with : > However, in the future we expect there to be a first-class way to announce that a field shouldn't be automatically dropped. Actually this...

C-enhancement

Push further on the path opened by #336 by adding `#[cold]` to `QueryIter::next_archetype` Results on my machine: Before ``` test iterate_100k ... bench: 43,868 ns/iter (+/- 511) test iterate_cached_100_by_50 ......

This makes `iterate_*` benches far more stable and less code layout dependent.

Starting with Rust 1.77 (currently beta), `skeptic` fails to find dependencies (`rt::get_rlib_dependencies` returns `Ok(vec![])`), which means that it cannot be used. I know that this crate is unmaintained, but I...

### Compiler name Cranelift ### Compiler version \>= 0.101 ### Compiler language CLIF (Cranelift IR) ### Compiler homepage https://github.com/bytecodealliance/wasmtime/tree/main/cranelift ### Motivation Cranelift is a new compiler backend (like LLVM), designed...

new-compilers
request