4 Commits

Author SHA1 Message Date
Aleksey Kladov f68835a884 fix miri tests
`cargo miri` started to pick the CARGO env var, nuke that
2022-11-25 15:39:59 +00:00
Aleksey Kladov 1d8a90d231 fix token name 2022-09-16 00:30:57 +01:00
Ben Kimock ed7a1b7623 Keep provenance intact by avoiding ptr-int-ptr
once_cell is an extremely widely-used crate, so it would be very nice if
it conformed to the stricted/simplest/checkable model we have for
aliasing in Rust. To do this, we need to avoid creating a pointer from
an integer by cast or transmute. Pointers created this way can be valid,
but are a nightmare for a checker like Miri. The situation is generally
explained by these docs: https://doc.rust-lang.org/nightly/std/ptr/fn.from_exposed_addr.html

This implementation is mostly gross because all the APIs that would make
this ergonomic are behind #![feature(strict_provenance)]
2022-07-30 18:06:37 -04:00
Aleksey Kladov abc8bcd168 Switch to xaction for CI 2020-11-11 01:38:33 +01:00