File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -67,18 +67,21 @@ codegen-units = 1
67
67
debug = false
68
68
overflow-checks = false
69
69
70
+ # duplicated from `bios/stage-2/Cargo.toml`
70
71
[profile.stage-2]
71
72
inherits = "release"
72
73
opt-level = "s"
73
74
codegen-units = 1
74
75
debug = false
75
76
overflow-checks = true
76
77
78
+ # duplicated from `bios/stage-3/Cargo.toml`
77
79
[profile.stage-3]
78
80
inherits = "release"
79
81
debug = true
80
82
overflow-checks = true
81
83
84
+ # duplicated from `bios/stage-4/Cargo.toml`
82
85
[profile.stage-4]
83
86
inherits = "release"
84
87
debug = true
Original file line number Diff line number Diff line change @@ -13,3 +13,12 @@ description = "Second BIOS stage of the `bootloader` crate"
13
13
mbr-nostd = "0.1.0"
14
14
byteorder = { version = "1.4.3", default-features = false }
15
15
bootloader-x86_64-bios-common = { version = "0.1.0-beta", path = "../common" }
16
+
17
+ # This currently causes a cargo warning, but it is required for publishing to crates.io.
18
+ # See https://github.com/rust-lang/cargo/issues/8264 for details.
19
+ [profile.stage-2]
20
+ inherits = "release"
21
+ opt-level = "s"
22
+ codegen-units = 1
23
+ debug = false
24
+ overflow-checks = true
Original file line number Diff line number Diff line change @@ -12,3 +12,10 @@ description = "Third BIOS stage of the `bootloader` crate"
12
12
[dependencies]
13
13
bootloader-x86_64-bios-common = { version = "0.1.0-beta", path = "../common" }
14
14
noto-sans-mono-bitmap = "0.1.5"
15
+
16
+ # This currently causes a cargo warning, but it is required for publishing to crates.io.
17
+ # See https://github.com/rust-lang/cargo/issues/8264 for details.
18
+ [profile.stage-3]
19
+ inherits = "release"
20
+ debug = true
21
+ overflow-checks = true
Original file line number Diff line number Diff line change @@ -16,3 +16,10 @@ log = "0.4.14"
16
16
x86_64 = "0.14.8"
17
17
rsdp = "2.0.0"
18
18
usize_conversions = "0.2.0"
19
+
20
+ # This currently causes a cargo warning, but it is required for publishing to crates.io.
21
+ # See https://github.com/rust-lang/cargo/issues/8264 for details.
22
+ [profile.stage-4]
23
+ inherits = "release"
24
+ debug = true
25
+ overflow-checks = true
You can’t perform that action at this time.
0 commit comments