Skip to content

Commit

Permalink
build: specify library feature to imported contracts
Browse files Browse the repository at this point in the history
when linking a contract to another we may encounter C symbol duplication
caused by the export of contract's entrypoints, we avoid that this way.
  • Loading branch information
amimart committed Nov 16, 2023
1 parent b3de779 commit 490e0e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ cw-storage-plus = "1.2.0"
cw-utils = "1.0.2"
cw2 = "1.1.1"
okp4-logic-bindings = { path = "packages/okp4-logic-bindings" }
okp4-objectarium = { path = "contracts/okp4-objectarium" }
okp4-cognitarium = { path = "contracts/okp4-cognitarium" }
okp4-objectarium = { path = "contracts/okp4-objectarium", features = ["library"] }
okp4-cognitarium = { path = "contracts/okp4-cognitarium", features = ["library"] }
okp4-objectarium-client = { path = "packages/okp4-objectarium-client" }
schemars = "0.8.16"
serde = { version = "1.0.192", default-features = false, features = ["derive"] }
Expand Down

0 comments on commit 490e0e4

Please sign in to comment.