Open nikomatsakis opened 1 month ago
This issue is intended for status updates only.
For general questions or comments, please contact the owner(s) directly.
Key developments:
offset_of
syntax is stable on nightly! 🎉 Credit to @dingxiangfei2009 for driving this.all@
and post an Inside Rust blog post.Next steps
inline_asm!(..., exit1 = { ... }, exit2 = { ... })
, in which the assembly code can jump to exit1
or exit2
. The problem is that, since inline_asm!
must be in an unsafe
block, this implies the blocks associated with those labels will be allowed to use unsafe code. To circumvent this, the RFL team is having those blocks simply break from an outer block with a false
return value, and then branching on that if value outside. That's the same as the C code does, as it happens, but. it's not as nice nor efficient as it could be. Discussion in the meeting suggested that the block bodies should be limited to safe code unless marked as unsafe
. @joshtriplett to follow-up.-Zfixed-x18
flag as a first step. @Darksonn to start drafting a stabilization report, possibly delegating some questions to @nikomatsakis.
Summary
Stabilize unstable features required by Rust for Linux project including
offset_of!
supportTasks and status
author RFCRFC decision()author RFCasm_goto
(@Darksonn)implementationoffset_of
syntax (@dingxiangfei2009)RFL on Rust CI(@Kobzol)implementation