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: specify target os #18

Merged
merged 1 commit into from
Jan 12, 2025
Merged

Conversation

oxwazz
Copy link
Contributor

@oxwazz oxwazz commented Jan 11, 2025

Description

i run bun run tdev but get this error

error[E0455]: link kind `framework` is only supported on Apple targets
   --> /home/oxwazz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/core-graphics-types-0.2.0/src/geometry.rs:169:69
    |
169 |     #[cfg_attr(feature = "link", link(name = "CoreGraphics", kind = "framework"))]
    |                                                                     ^^^^^^^^^^^

For more information about this error, try `rustc --explain E0455`.
error: could not compile `core-graphics-types` (lib) due to 1 previous error

This PR addresses a compatibility issue where certain code or dependencies were not explicitly configured for macOS only. By adding the required adjustments, the issue has been resolved, and the application now works seamlessly on Ubuntu.

Addition

Platform : linux
Distro : Ubuntu
Release : 24.04.1 LTS
Codename : noble
Kernel : 6.8.0-51-generic
Arch : x64

@mazipan mazipan merged commit c0268d5 into mazipan:master Jan 12, 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