Skip to content

Commit 30cb267

Browse files
committed
remove unstable feature
1 parent ff30c0b commit 30cb267

File tree

15 files changed

+15
-22
lines changed

15 files changed

+15
-22
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
rust-version: nightly
4444
do-style-check: false
45-
features: builder,unstable
45+
features: builder
4646

4747
### no-std Build #########################
4848
build_nostd_msrv:
@@ -99,7 +99,7 @@ jobs:
9999
rust-version: nightly
100100
do-style-check: false
101101
rust-target: thumbv7em-none-eabihf
102-
features: builder,unstable
102+
features: builder
103103

104104
### Style Checks + Doc #####################
105105
style_msrv:
@@ -130,7 +130,7 @@ jobs:
130130
rust-version: nightly
131131
do-style-check: true
132132
do-test: false
133-
features: builder,unstable
133+
features: builder
134134

135135
miri:
136136
name: tests with miri (nightly)
@@ -141,4 +141,4 @@ jobs:
141141
do-style-check: false
142142
do-test: false
143143
do-miri: true
144-
features: builder,unstable
144+
features: builder

integration-test/bins/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ lto = true
1414
[workspace.dependencies]
1515
anyhow = { version = "1.0", default-features = false }
1616
log = { version = "0.4", default-features = false }
17-
multiboot2 = { path = "../../multiboot2", features = ["builder", "unstable"] }
18-
multiboot2-header = { path = "../../multiboot2-header", features = ["builder", "unstable"] }
17+
multiboot2 = { path = "../../multiboot2", features = ["builder"] }
18+
multiboot2-header = { path = "../../multiboot2-header", features = ["builder"] }
1919
good_memory_allocator = "0.1"
2020
util = { path = "./util" }
2121

multiboot2-common/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
- **Breaking:** Removed the optional `unstable` feature (required nightly)
6+
- `core::error::Error` is now implemented unconditionally
7+
58
## v0.2.1 (2024-09-19)
69

710
- Documentation improvements

multiboot2-common/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ rust-version = "1.75"
2626
default = ["builder"]
2727
alloc = []
2828
builder = ["alloc"]
29-
unstable = []
3029

3130

3231
[dependencies]

multiboot2-common/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@
220220
//! [`Layout`]: core::alloc::Layout
221221
222222
#![no_std]
223-
#![cfg_attr(feature = "unstable", feature(error_in_core))]
224223
// --- BEGIN STYLE CHECKS ---
225224
#![deny(
226225
clippy::all,
@@ -442,7 +441,6 @@ pub enum MemoryError {
442441
InvalidReportedTotalSize,
443442
}
444443

445-
#[cfg(feature = "unstable")]
446444
impl core::error::Error for MemoryError {}
447445

448446
/// Increases the given size to the next alignment boundary, if it is not a

multiboot2-header/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
- **Breaking:** Removed the optional `unstable` feature (required nightly)
6+
- `core::error::Error` is now implemented unconditionally
7+
58
## v0.6.0 (2024-09-17)
69

710
- dependency updates

multiboot2-header/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ required-features = ["builder"]
3939
default = ["builder"]
4040
alloc = ["multiboot2-common/alloc"]
4141
builder = ["alloc", "multiboot2-common/builder"]
42-
# Nightly-only features, which will eventually be stabilized.
43-
unstable = ["multiboot2-common/unstable"]
4442

4543
[dependencies]
4644
derive_more.workspace = true

multiboot2-header/src/header.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use crate::{
44
HeaderTagType, InformationRequestHeaderTag, ModuleAlignHeaderTag, RelocatableHeaderTag,
55
TagIter,
66
};
7-
#[cfg(feature = "unstable")]
87
use core::error::Error;
98
use core::fmt::{Debug, Formatter};
109
use core::mem::size_of;
@@ -237,7 +236,6 @@ pub enum LoadError {
237236
Memory(MemoryError),
238237
}
239238

240-
#[cfg(feature = "unstable")]
241239
impl Error for LoadError {
242240
fn source(&self) -> Option<&(dyn Error + 'static)> {
243241
match self {

multiboot2-header/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
//! The MSRV is 1.75.0 stable.
2727
2828
#![no_std]
29-
#![cfg_attr(feature = "unstable", feature(error_in_core))]
3029
// --- BEGIN STYLE CHECKS ---
3130
#![deny(
3231
clippy::all,

multiboot2/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
- **Breaking:** Removed the optional `unstable` feature (required nightly)
6+
- `core::error::Error` is now implemented unconditionally
7+
58
## v0.23.1 (2024-10-21)
69

710
- Fix wrong tag ID when using `BootdevTag::new`

0 commit comments

Comments
 (0)