Skip to content

Commit

Permalink
Stop using "rlib"
Browse files Browse the repository at this point in the history
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
  • Loading branch information
bhansconnect committed Jan 17, 2024
1 parent b986d90 commit 051d9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ codegen-units = 1
[lib]
name = "host"
path = "src/lib.rs"
crate-type = ["staticlib", "rlib"]
crate-type = ["staticlib", "lib"]

[[bin]]
name = "host"
Expand Down

0 comments on commit 051d9bd

Please sign in to comment.