Adding ghostty-vt as a dependency breaks builds macos #10651
Issue DescriptionHey, encountered an issue trying to add libghostty-vt as a dependency in a project I am working on. My machine is macOS and after following the examples of how to add libghostty-vt (zig version) as a dependency and running I may be wrong but I would not expect adding libghostty-vt as a dependency should need these sdks. Expect there is some build configuration detecting I am on macOS and trying to interact with these SDKs. I managed to work around it for now by using the following in my But I would like to have simd support! Would hope to not need to change the target myself. Expected BehaviorI would expect to be able to import ghostty-vt as the examples detail and be able to run zig build on macOS without issue. Actual BehaviorReproduction StepsOn macos:
Ghostty LogsNo response Ghostty VersionOS Version Informationmacos Sequioa Version 15.3.1 (24D70) (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configurationn/aAdditional Relevant ConfigurationNo response I acknowledge that:
|
Replies: 3 comments 1 reply
|
I don't think there is any requirement to set the target to freestanding just setting the simd option to false should work. Why does the simd option require macos sdk, because it uses a dependency that requires it setting the option to false should be all thats required since the dependency is a lazy dep and ghostty protects against using it |
|
If anyone else comes across this after installing xcode (full version from the app store) builds work fine with simd enabled. |
Fixed here: #13660