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 compilation on MacOS #498

Merged
merged 3 commits into from
May 18, 2024
Merged

Fix compilation on MacOS #498

merged 3 commits into from
May 18, 2024

Conversation

BigBadE
Copy link
Contributor

@BigBadE BigBadE commented May 18, 2024

Description

Simply fixes the conditional compilation code inside values/mod.rs to correctly use the &str type instead of String

Related Issue

#497

How This Has Been Tested

Code was built on a MacOS x86_64 and MacOS Aarch64 machine (13.0 and 13.4) using github actions

On a side note, it may be wise to setup actions to automatically build the project to prevent issues like this.

There hasn't been any testing of the specific section function, but any issues after this change will have existed beforehand, all this change does it fix the compiler error.

Checklist

…ause issues with the pointer down the line. Since there's no ctx lifetime on the section, this should be fine.
@TheDan64 TheDan64 self-requested a review May 18, 2024 22:40
Copy link
Owner

@TheDan64 TheDan64 left a comment

Choose a reason for hiding this comment

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

Thank you! Would love to see CI for macos!

@TheDan64 TheDan64 merged commit 5c9f7fc into TheDan64:master May 18, 2024
16 checks passed
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