slanterns w/
🦀
@slanterns_rust
59
subscribers
31
photos
1
file
1.14K
links
视奸,然后捡到夹手螃蟹
Download Telegram
Join
slanterns w/
🦀
59 subscribers
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/159731
https://github.com/rust-lang/rust/pull/159733
GitHub
std: Implement futex on wasip3 targets, update target spec by alexcrichton · Pull Request #159731 · rust-lang/rust
This commit is in preparation for eventual tier 2 status for the wasm32-wasip3 target. Initially this target will not have support for threads but it's expected to come ~later this year. Th...
slanterns w/
🦀
Forwarded from
鋅厘
https://fixupx.com/B_cat38324/status/2080197953910952108
FixupX
猫黑黑 (@B_cat38324)
其他人写rust:
unsafe {
…
}
日本人写rust:
不安です {
…
}
slanterns w/
🦀
https://github.com/rust-lang/libs-team/issues/709
GitHub
Add `str::copy_from_str` and other mutating `str` methods · Issue #709 · rust-lang/libs-team
Proposal Problem statement The standard library has nearly no string manipulation that do not allocate (expect methods that give a substring like spit or trim families). This comes from the fact th...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/159800
GitHub
Allow `#[unsafe(may_dangle)]` by mejrs · Pull Request #159800 · rust-lang/rust
Tracking issue: #159799
This PR allows declaring the attribute itself unsafe, rather than the impl:
#![feature(dropck_eyepatch)]
struct PerhapsLoosely<T>(T);
impl<#[unsafe(ma...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/159935
GitHub
Redefine `c_void` by Jules-Bertholet · Pull Request #159935 · rust-lang/rust
View all comments
The current definition is based on legacy cruft which no longer matter. Let's make it somewhat saner:
Outside Miri: be maximally accepting, use UnsafePinned and MaybeUni...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160115
GitHub
Unimplement `fmt::Debug` for `c_void` by Jules-Bertholet · Pull Request #160115 · rust-lang/rust
Taking a shared reference to c_void is never correct, and this impl should never have been added.
This is obviously a breaking change, so needs crater and FCP.
@rustbot label T-libs-api needs-fcp A...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160162
GitHub
Make `#[fundamental]` only apply to the first argument of `Box` by nia-e · Pull Request #160162 · rust-lang/rust
Per a discussion with lang, it was decided that we want Box<T, A> to only be fundamental in T. Given that Box is the only fundamental type with two generic params, simply make it so o...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160297
GitHub
add `scope!` and `extend!` temporary scoping operators by dianne · Pull Request #160297 · rust-lang/rust
This is my initial take on the scope! and extend! operators proposed by @traviscross. I've done a bit of interpretation; the exact semantics will need to be discussed. Part of rust-lang/rus...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160300
GitHub
[WIP] Polymorphization by camelid · Pull Request #160300 · rust-lang/rust
Empowering everyone to build reliable and efficient software. - [WIP] Polymorphization by camelid · Pull Request #160300 · rust-lang/rust
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160376
GitHub
Regeneralize the "-1 for None" change by scottmcm · Pull Request #160376 · rust-lang/rust
Not planning on un-drafting this until after #158734 lands.
The "prefer the smaller magnitude" change (#155473) had been applied pretty narrowly: just to option-like niches and ju...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160391
GitHub
Add anti-fundamental attribute by ShaddyDC · Pull Request #160391 · rust-lang/rust
This PR introduces the internal #[rustc_anti_fundamental] trait attribute to prevent downstream crates from implementing traits on non-local #[fundamental] types (such as Pin and Box).
Using this n...
slanterns w/
🦀
Forwarded from
Some H+
https://blog.rust-lang.org/2026/08/04/enabling-polonius-alpha-on-nighty/
有生之年,泪目了
blog.rust-lang.org
Enabling the next iteration of the borrow checker on nightly | Rust Blog
Empowering everyone to build reliable and efficient software.
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160534
GitHub
stabilize smart pointer map functions by Qelxiros · Pull Request #160534 · rust-lang/rust
Tracking issue: #144419
@rustbot modify labels: +T-libs-api
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160619
GitHub
Enable `-Znext-solver` on nightly by default by Kivooeo · Pull Request #160619 · rust-lang/rust
this is a draft for now to show test failure in library/alloc/src/vec, i will update description accordingly as we decide what to do with this test
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/158734#issuecomment-5190569778
GitHub
Update to LLVM 23 by nikic · Pull Request #158734 · rust-lang/rust
View all comments
Changes in this PR (apart from the LLVM update):
Updated cov-map tests due to minor ordering changes introduced in llvm/llvm-project@5931034. The affected tests are limited to L...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160705
GitHub
Remove `From<!> for T` *reservation* impl by WaffleLapkin · Pull Request #160705 · rust-lang/rust
This PR removes the <T> From<!> for T reservation implementation added in #62661 and tracked in #64715 and #64631.
The reservation impl in question was added in order to...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160729
GitHub
[WIP] Introduce repr(Swift) by Lancelotbronner · Pull Request #160729 · rust-lang/rust
Adds the repr(Swift) attribute, allowing direct representation of Swift structs.
Since rebasing on the latest main it probably doesn't compile anymore.
I'd like to gauge interest to...
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160745
GitHub
make closures act like MaybeDangling by RalfJung · Pull Request #160745 · rust-lang/rust
This makes closures (and types like them: coroutines and coroutine closures) act like MaybeDangling. This means that the aliasing model will entirely ignore references and Boxes passed around as cl...
slanterns w/
🦀
Forwarded from
Yves Lelouch
https://blog.rust-lang.org/inside-rust/2026/08/10/call-for-testing-impl-and-mut-restrictions/
blog.rust-lang.org
Call for testing: Restricting trait implementability and field mutability | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160801
GitHub
Optimize new solver unification table ops by nnethercote · Pull Request #160801 · rust-lang/rust
The current code uses the ena crate in sub-optimal ways. Improving this gives big speed wins for the new trait solver on some benchmarks. Details in individual commits.
r? @lcnr
slanterns w/
🦀
https://github.com/rust-lang/rust/pull/160838
GitHub
Implement missing TrustedLen and FusedIterator for core and alloc types by fereidani · Pull Request #160838 · rust-lang/rust
While working on #160813 I noticed TrustedLen is missing for the LinkedList, I suspected that other modules are missing the implementation too, so I wrote a small script to scan the project and fou...