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

fix and check compilation with no features #876

Closed
wants to merge 1 commit into from

Conversation

Emilgardis
Copy link
Member

resolves #875

@Emilgardis Emilgardis requested a review from a team as a code owner October 23, 2024 15:56
@@ -37,6 +37,7 @@ pub struct Config {
pub base_address_shift: u64,
pub html_url: Option<url::Url>,
/// Path to YAML file with chip-specific settings
#[cfg(feature = "yaml")]
pub settings: Option<PathBuf>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would just ignore the settings file, even if it is configured, correct?
Wouldn't it be better to report an error instead, like I implemented in #877?

@@ -42,6 +42,9 @@ jobs:
with:
key: ${{ matrix.TARGET }}

- run: cargo check --target ${{ matrix.TARGET }} --no-default-features
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I copied this over to #877 (with you as the commit author), hope that's ok,

@Emilgardis Emilgardis closed this Oct 23, 2024
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.

Current master branch does not build with --no-default-features
2 participants