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 iOS import of std::fs #57

Merged
merged 1 commit into from
Mar 23, 2025
Merged

Conversation

will3942
Copy link
Contributor

Otherwise a build for iOS fails with the following error:

error[E0433]: failed to resolve: use of undeclared crate or module `fs`
   --> /Users/willevans/.cargo/registry/src/index.crates.io-6f17d22bba15001f/souvlaki-0.8.1/src/platform/macos/mod.rs:293:22
    |
293 |     let image_data = fs::read(&url).unwrap();
    |                      ^^ use of undeclared crate or module `fs`

@Sinono3
Copy link
Owner

Sinono3 commented Mar 23, 2025

Thank you! Merging.

@Sinono3 Sinono3 merged commit 5f59463 into Sinono3:master Mar 23, 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