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
6767debug = false
6868overflow-checks = false
6969
70+ # duplicated from `bios/stage-2/Cargo.toml`
7071[profile .stage-2 ]
7172inherits = " release"
7273opt-level = " s"
7374codegen-units = 1
7475debug = false
7576overflow-checks = true
7677
78+ # duplicated from `bios/stage-3/Cargo.toml`
7779[profile .stage-3 ]
7880inherits = " release"
7981debug = true
8082overflow-checks = true
8183
84+ # duplicated from `bios/stage-4/Cargo.toml`
8285[profile .stage-4 ]
8386inherits = " release"
8487debug = true
Original file line number Diff line number Diff line change @@ -13,3 +13,12 @@ description = "Second BIOS stage of the `bootloader` crate"
1313mbr-nostd = " 0.1.0"
1414byteorder = { version = " 1.4.3" , default-features = false }
1515bootloader-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"
1212[dependencies ]
1313bootloader-x86_64-bios-common = { version = " 0.1.0-beta" , path = " ../common" }
1414noto-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"
1616x86_64 = " 0.14.8"
1717rsdp = " 2.0.0"
1818usize_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