Skip to content

Commit af4f101

Browse files
committed
Fix docs.rs build by specifying an explicit target
Building for the default target specified in the `.cargo/config` file fails because the `core` library is not available for custom targets without cargo-xbuild.
1 parent cc206c3 commit af4f101

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ target = "x86_64-bootloader.json"
5050

5151
[package.metadata.docs.rs]
5252
features = [ "recursive_page_table", "map_physical_memory" ]
53+
default-target = "x86_64-unknown-linux-gnu"

Changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Fix docs.rs build (see commit 01671dbe449b85b3c0ea73c5796cc8f9661585ee)
2+
13
# 0.8.6
24

35
- Objcopy replaces `.` chars with `_` chars ([#94](https://github.com/rust-osdev/bootloader/pull/94))

0 commit comments

Comments
 (0)