Gilnaa / memoffset

offsetof for Rust
MIT License
224 stars 29 forks source link

There is no `const_transmute` feature anymore: it is stable #47

Closed A1-Triard closed 4 years ago

A1-Triard commented 4 years ago

memoffset does not compile with actual nightly:

error[E0635]: unknown feature const_transmute

RalfJung commented 4 years ago

Could you please describe what you did to get that error?

@Gilnaa I am only guessing here, but maybe we need a new release after https://github.com/Gilnaa/memoffset/pull/45?

A1-Triard commented 4 years ago

Could you please describe what you did to get that error?

$ cargo new --lib test_memoffset
$ cd test_memoffset
$ echo 'memoffset = { version = "0.5.5", features = ["unstable_const"] }' >> Cargo.toml
$ cargo build
RalfJung commented 4 years ago

Thanks! Yes, looks like we need to release 0.5.6 then with the above PR.

Gilnaa commented 4 years ago

Can confirm, will release in the next hour

Gilnaa commented 4 years ago

Released v0.5.6, thanks for reporting