question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not possible to enable features when building project

See original GitHub issue

Environment

  • CLion 2019.3
  • Windows 10 pro

Problem description

I want to set a feature when building my project (Ctrl+F9) I’ve gone through the settings (Lang&Framew/Rust) but the option seems to be lacking

Steps to reproduce

Create a new project, press Ctrl+F9 (build project) it will print something like this: C:/Users/<username>/.cargo/bin/cargo.exe build --color=always --all --all-targets

what I’m expecting adding something like --features "my-feature" in some configuration box in settings and then getting C:/Users/<username>/.cargo/bin/cargo.exe build --color=always --all --all-targets --features "my-feature"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mchernyavskycommented, Dec 1, 2020

I hope we will merge https://github.com/intellij-rust/intellij-rust/pull/4254 soon and after that, we can enable it by default.

0reactions
RichoDemuscommented, Dec 1, 2020

I see thanks Any words on when this will not be hidden by experimental flags?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to enable crate features per-platform in Cargo.toml?
Is it possible to enable features only on one platform? No, it is not possible, due to Cargo issue #1197. See also:.
Read more >
Enable and disable GitLab features deployed behind feature ...
When you disable a feature flag, the feature is hidden from users and all of the functionality is turned off. For example, data...
Read more >
Manage preview features - Azure DevOps Services
Enable /disable or activate/deactivate features in preview at the user or organization level.
Read more >
Enable releases and versions | Jira Software Cloud
Go to Project Settings > Features. Enable the Releases feature. A new menu item, Releases, will be added to the project menu. The...
Read more >
Configure your build - Android Developers
The build process involves many tools and processes that convert your project into an Android Application Package (APK) or Android App Bundle (AAB)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found