Skip to content

Commit

Permalink
fix: add .no_locked(true) to build scripts config (status-message dep)
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Nov 5, 2024
1 parent f24a608 commit 411fd20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/factory-contract/high-level/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + 'static>> {

let build_opts = BuildOpts::builder()
.manifest_path(manifest)
.no_locked(true)
.override_nep330_contract_path(nep330_contract_path)
// a distinct target is needed to avoid deadlock during build
.override_cargo_target_dir("../target/build-rs-status-message-for-high-level-factory")
Expand Down
1 change: 1 addition & 0 deletions examples/factory-contract/low-level/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + 'static>> {

let build_opts = BuildOpts::builder()
.manifest_path(manifest)
.no_locked(true)
.override_nep330_contract_path(nep330_contract_path)
// a distinct target is needed to avoid deadlock during build
.override_cargo_target_dir("../target/build-rs-status-message-for-low-level-factory")
Expand Down

0 comments on commit 411fd20

Please sign in to comment.