Skip to content

Failed to build on Linux #87

@katyo

Description

@katyo
error[E0455]: link kind `framework` is only supported on Apple targets
   --> /build/code-assistant-0.2.4-vendor/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
warning: build failed, waiting for other jobs to finish...
error: Cannot build '/nix/store/8ipmiig0a0w35i6i250i03adr1kwmmhg-code-assistant-0.2.4.drv'.
       Reason: builder failed with exit code 101.
       Output paths:
         /nix/store/h20qn0fb0f74babxiqpkr9w18xwcycv2-code-assistant-0.2.4
       Last 25 log lines:
       >    Compiling image v0.25.9
       >    Compiling wayland-protocols-plasma v0.2.0
       >    Compiling calloop-wayland-source v0.3.0
       >    Compiling lyon v1.0.16
       >    Compiling gpui_util_macros v0.2.2
       >    Compiling stacksafe v0.1.4
       >    Compiling secret-service v3.1.0
       >    Compiling onig v6.5.1
       >    Compiling resvg v0.45.1
       >    Compiling gpui_http_client v0.2.2
       >    Compiling derive_more v2.1.1
       >    Compiling async-tungstenite v0.23.0
       >    Compiling chromiumoxide_cdp v0.5.2
       >    Compiling rust-i18n-macro v3.1.5
       >    Compiling blade-util v0.3.0
       >    Compiling core-graphics-types v0.2.0
       > error[E0455]: link kind `framework` is only supported on Apple targets
       >    --> /build/code-assistant-0.2.4-vendor/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
       > warning: build failed, waiting for other jobs to finish...
       For full logs, run:
         nix log /nix/store/8ipmiig0a0w35i6i250i03adr1kwmmhg-code-assistant-0.2.4.drv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions