rust3ds / ctru-rs

Rust wrapper for libctru
https://rust3ds.github.io/ctru-rs/
Other
117 stars 17 forks source link

Remove feature gate for stabilized feature (stabilized in 1.70.0) #126

Closed DeltaF1 closed 1 year ago

DeltaF1 commented 1 year ago

Remove feature gate for nonnull_slice_from_raw_parts

warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable
 --> ctru-rs/src/lib.rs:7:12
  |
7 | #![feature(nonnull_slice_from_raw_parts)]
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(stable_features)]` on by default
DeltaF1 commented 1 year ago

Ah I see now that the project targets a specific older nightly version as well. Good to know.

Meziu commented 1 year ago

Yeah it’s a bit annoying when using the newer toolchains, but it’s fine. We will update the minimum version once a good chunk of the unstable features we use get stabilised.