Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/develop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ pub struct DevelopOptions {
)]
pub bindings: Option<String>,
/// Pass --release to cargo
#[arg(short = 'r', long, help_heading = heading::COMPILATION_OPTIONS,)]
#[arg(short = 'r', long, help_heading = heading::COMPILATION_OPTIONS, conflicts_with = "profile")]
pub release: bool,
/// Strip the library for minimum file size
#[arg(long)]
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ enum Command {
/// Build the crate into python packages
Build {
/// Build artifacts in release mode, with optimizations
#[arg(short = 'r', long, help_heading = heading::COMPILATION_OPTIONS)]
#[arg(short = 'r', long, help_heading = heading::COMPILATION_OPTIONS, conflicts_with = "profile")]
release: bool,
/// Strip the library for minimum file size
#[arg(long)]
Expand All @@ -78,7 +78,7 @@ enum Command {
/// Build and publish the crate as python packages to pypi
Publish {
/// Do not pass --release to cargo
#[arg(long)]
#[arg(long, conflicts_with = "profile")]
debug: bool,
/// Do not strip the library for minimum file size
#[arg(long = "no-strip")]
Expand Down
Loading