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

acpi-dumper: fix invocation of compile_error! #229

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

pjhades
Copy link
Contributor

@pjhades pjhades commented Nov 18, 2024

I got this error when running cargo test on a Mac host:

error[E0433]: failed to resolve: could not find `compilation_error` in `std`
   --> acpi-dumper/src/main.rs:101:10
    |
101 |     std::compilation_error!("acpi-dumper currently only supports linux");
    |          ^^^^^^^^^^^^^^^^^ could not find `compilation_error` in `std`

This PR fixes the typo.

@IsaacWoods
Copy link
Member

Thanks!

@IsaacWoods IsaacWoods merged commit 5d9c8c2 into rust-osdev:main Nov 20, 2024
4 checks passed
@pjhades pjhades deleted the fix-acpi-dumper-macro-call branch November 20, 2024 14:06
IsaacWoods pushed a commit to IsaacWoods/acpi that referenced this pull request Jan 30, 2025
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