Skip to content

Commit

Permalink
Merge pull request #9 from wasv/fix-feature-gate
Browse files Browse the repository at this point in the history
Updates feature gate to use new_zeroed_alloc
  • Loading branch information
kelpsyberry authored Nov 1, 2024
2 parents 987ebb4 + 94079c9 commit a3516d8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
maybe_uninit_uninit_array,
maybe_uninit_slice,
portable_simd,
new_uninit,
new_zeroed_alloc,
str_from_utf16_endian,
array_chunks,
unsized_const_params
Expand Down
2 changes: 1 addition & 1 deletion frontend/desktop/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(
step_trait,
new_uninit,
new_zeroed_alloc,
slice_ptr_get,
array_chunks,
portable_simd,
Expand Down
2 changes: 1 addition & 1 deletion frontend/web/crate/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![allow(clippy::unused_unit)]
#![feature(new_uninit)]
#![feature(new_zeroed_alloc)]

mod audio;
#[cfg(feature = "log")]
Expand Down
2 changes: 1 addition & 1 deletion render/soft-2d/base/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const_mut_refs,

Check warning on line 4 in render/soft-2d/base/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (macos-latest, no default features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-2d/base/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 4 in render/soft-2d/base/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (macos-latest, all features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-2d/base/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 4 in render/soft-2d/base/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (ubuntu-latest, no default features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-2d/base/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 4 in render/soft-2d/base/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (ubuntu-latest, all features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-2d/base/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
const_trait_impl,
generic_const_exprs,
new_uninit,
new_zeroed_alloc,
portable_simd
)]
#![warn(clippy::all)]
Expand Down
2 changes: 1 addition & 1 deletion render/soft-2d/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(generic_const_exprs, new_uninit, portable_simd)]
#![feature(generic_const_exprs, new_zeroed_alloc, portable_simd)]
#![warn(clippy::all)]
#![allow(incomplete_features)]

Expand Down
2 changes: 1 addition & 1 deletion render/soft-3d/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(portable_simd, const_mut_refs, const_trait_impl, new_uninit)]
#![feature(portable_simd, const_mut_refs, const_trait_impl, new_zeroed_alloc)]

Check warning on line 1 in render/soft-3d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (macos-latest, no default features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-3d/src/lib.rs:1:27 | 1 | #![feature(portable_simd, const_mut_refs, const_trait_impl, new_zeroed_alloc)] | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 1 in render/soft-3d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (macos-latest, all features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-3d/src/lib.rs:1:27 | 1 | #![feature(portable_simd, const_mut_refs, const_trait_impl, new_zeroed_alloc)] | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 1 in render/soft-3d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (ubuntu-latest, no default features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-3d/src/lib.rs:1:27 | 1 | #![feature(portable_simd, const_mut_refs, const_trait_impl, new_zeroed_alloc)] | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 1 in render/soft-3d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (ubuntu-latest, all features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/soft-3d/src/lib.rs:1:27 | 1 | #![feature(portable_simd, const_mut_refs, const_trait_impl, new_zeroed_alloc)] | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
#![warn(clippy::all)]

mod data;
Expand Down
2 changes: 1 addition & 1 deletion render/wgpu-2d/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![feature(
new_uninit,
new_zeroed_alloc,
generic_const_exprs,
const_mut_refs,

Check warning on line 4 in render/wgpu-2d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (macos-latest, no default features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/wgpu-2d/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 4 in render/wgpu-2d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (macos-latest, all features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/wgpu-2d/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 4 in render/wgpu-2d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (ubuntu-latest, no default features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/wgpu-2d/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

Check warning on line 4 in render/wgpu-2d/src/lib.rs

View workflow job for this annotation

GitHub Actions / Run clippy (ubuntu-latest, all features)

the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable

warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable --> render/wgpu-2d/src/lib.rs:4:5 | 4 | const_mut_refs, | ^^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
const_trait_impl,
Expand Down
2 changes: 1 addition & 1 deletion render/wgpu-3d/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
portable_simd,
array_windows,
maybe_uninit_uninit_array,
new_uninit
new_zeroed_alloc
)]
#![warn(clippy::all)]

Expand Down

0 comments on commit a3516d8

Please sign in to comment.