Skip to content

Commit da8e697

Browse files
committed
Temporarily export C API as Rust library as well
This is a stopgap to enable TDN to link against multiple Rust crates without duplicating the standard library. In the future, we'll want to separate the crate that defines the C bindings themselves from the one defining the global allocator and panic hook, but this works for now.
1 parent 5f04e06 commit da8e697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rust-version.workspace = true
66

77
[lib]
88
name = "spidir"
9-
crate-type = ["staticlib"]
9+
crate-type = ["staticlib", "lib"]
1010

1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

0 commit comments

Comments
 (0)