Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Missing --features conditional building support #471

Closed
calvinlauyh opened this issue Dec 15, 2019 · 1 comment · Fixed by #633 or #635
Closed

Problem: Missing --features conditional building support #471

calvinlauyh opened this issue Dec 15, 2019 · 1 comment · Fixed by #633 or #635

Comments

@calvinlauyh
Copy link

calvinlauyh commented Dec 15, 2019

Description:

Trying to do a conditional compilation using neon build --features=mock

Expected behaviour

Build with mock feature

Actual behaviour

UNKNOWN_OPTION: Unknown option: --features
...

Updated: Sorry I didn't realize I missed the --feature's'. But after changing to --features the problem still exists. Thanks.

@kjvalencik
Copy link
Member

Wow! This is a pretty big gap since unlike most cargo options, features can't be enabled with environment variables.

@calvinlauyh calvinlauyh changed the title Problem: Missing --feature conditional building support Problem: Missing --features conditional building support Dec 15, 2019
@kjvalencik kjvalencik mentioned this issue Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants