Skip to content

Commit a3891ea

Browse files
committed
be normal
1 parent 4eaa658 commit a3891ea

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ members = [
88
"crates/stdarch-gen-loongarch",
99
"crates/intrinsic-test",
1010
"examples/"
11-
, "crates/maybelibc"]
11+
]
1212
exclude = [
1313
"crates/wasm-assert-instr-tests"
1414
]

crates/maybelibc/Cargo.toml

-7
This file was deleted.

crates/maybelibc/src/lib.rs

-2
This file was deleted.

crates/std_detect/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ is-it-maintained-open-issues = { repository = "rust-lang/stdarch" }
2121
maintenance = { status = "experimental" }
2222

2323
[dependencies]
24-
libc = { package = "maybelibc", path = "../maybelibc", version = "0.1", optional = true }
2524
cfg-if = "1.0.0"
2625

2726
# When built as part of libstd
2827
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
2928
compiler_builtins = { version = "0.1.2", optional = true }
3029
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
3130

31+
[target.'cfg(not(windows))'.dependencies]
32+
libc = { version = "0.2.0", optional = true, default-features = false }
33+
3234
[dev-dependencies]
3335
cupid = "0.6.0"
3436

0 commit comments

Comments
 (0)