Skip to content

Commit

Permalink
Update main/src/project.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel de Quadros Ligneul <8294320+gligneul@users.noreply.github.com>
  • Loading branch information
rauljordan and gligneul authored Dec 12, 2024
1 parent 8724a7b commit b994eee
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 b994eee

Please sign in to comment.