Y
Hacker News
new
|
ask
|
show
|
jobs
by
firstlink
1172 days ago
Rust seems to do fine with ZSTs somehow.
1 comments
kibwen
1172 days ago
ZSTs work splendidly in Safe Rust, but you do need to consider them if you're writing unsafe generic code. Here's the relevant section of the Rustonomicon:
https://doc.rust-lang.org/nomicon/exotic-sizes.html#zero-siz...
.
link