Skip to content

Commit

Permalink
Merge branch 'fluidity-sync' of github.com:OffchainLabs/cargo-stylus …
Browse files Browse the repository at this point in the history
…into fluidity-sync
  • Loading branch information
rauljordan committed Dec 12, 2024
2 parents 48f7c84 + b994eee commit aa15619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ pub fn build_dylib(cfg: BuildConfig) -> Result<PathBuf> {
cmd.arg("--lib");
cmd.arg("--locked");

if cfg.features.is_some() {
cmd.arg(format!("--features={}", cfg.features.clone().unwrap()));
if let Some(features) = cfg.features {
cmd.arg(format!("--features={}", features.clone()));
}

if !cfg.stable {
Expand Down

0 comments on commit aa15619

Please sign in to comment.