Skip to content

Commit 4fbcdd2

Browse files
authored
Merge pull request #126 from rust-osdev/optional-rlibc
Enable rlibc dependency only with `binary` feature
2 parents d45e0a1 + b6af7c5 commit 4fbcdd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ x86_64 = { version = "0.11.0", optional = true }
1818
usize_conversions = { version = "0.2.0", optional = true }
1919
fixedvec = { version = "0.2.4", optional = true }
2020
bit_field = { version = "0.10.0", optional = true }
21-
rlibc = "1.0.0"
21+
rlibc = { version = "1.0.0", optional = true }
2222

2323
[dependencies.font8x8]
2424
version = "0.2.4"
@@ -32,7 +32,7 @@ toml = { version = "0.5.1", optional = true }
3232

3333
[features]
3434
default = []
35-
binary = ["xmas-elf", "x86_64", "usize_conversions", "fixedvec", "llvm-tools", "toml"]
35+
binary = ["xmas-elf", "x86_64", "usize_conversions", "fixedvec", "llvm-tools", "toml", "rlibc"]
3636
vga_320x200 = ["font8x8"]
3737
recursive_page_table = []
3838
map_physical_memory = []

0 commit comments

Comments
 (0)