Skip to content

Add support for the --profile cargo flag.#10

Merged
StratusFearMe21 merged 1 commit intoStratusFearMe21:masterfrom
cessen:profile_flag
Jan 23, 2022
Merged

Add support for the --profile cargo flag.#10
StratusFearMe21 merged 1 commit intoStratusFearMe21:masterfrom
cessen:profile_flag

Conversation

@cessen
Copy link
Copy Markdown
Contributor

@cessen cessen commented Jan 19, 2022

The primary change here is simply not passing the --release
flag when --profile is present, since they conflict. But
handling --profile correctly also requires looking in a
different directory for the produced executables, which this
commit also implements.

This commit also incidentally fixes a bug where only a single
command line argument was being passed on to the cargo build
command.

Addresses issue #8.

The primary change here is simply not passing the `--release`
flag when `--profile` is present, since they conflict.  But
handling `--profile` correctly also requires looking in a
different directory for the produced executables, which this
commit also implements.

This commit also incidentally fixes a bug where only a single
command line argument was being passed on to the cargo build
command.
@StratusFearMe21 StratusFearMe21 merged commit d921291 into StratusFearMe21:master Jan 23, 2022
@cessen cessen deleted the profile_flag branch January 23, 2022 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants