Skip to content

Commit 61106e9

Browse files
authored
interface: Don't mark as cdylib (#40)
#### Problem The interface crate is marked with `cdylib`, which makes it impossible to run LTO with the rust compiler. Since it isn't a program, it doesn't need to have the cdylib target. #### Summary of changes Remove the cdylib target.
1 parent a3003e3 commit 61106e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ solana-sha256-hasher = "3.0.0"
2626
spl-type-length-value = { version = "0.9.0", features = ["derive"] }
2727

2828
[lib]
29-
crate-type = ["cdylib", "lib"]
29+
crate-type = ["lib"]
3030

3131
[package.metadata.docs.rs]
3232
targets = ["x86_64-unknown-linux-gnu"]

0 commit comments

Comments
 (0)