Skip to content

Commit

Permalink
fix: no-default-features (#3130)
Browse files Browse the repository at this point in the history
  • Loading branch information
DogeDark authored Oct 28, 2024
1 parent 38c8469 commit 9ebcbc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/builder/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ impl BuildRequest {
cargo_args.push("--quiet".to_string());
}

if self.build.target_args.no_default_features {
cargo_args.push("--no-default-features".to_string());
}

let features = self.target_features();

if !features.is_empty() {
Expand Down

0 comments on commit 9ebcbc6

Please sign in to comment.