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

Add CLI flag & directive for clang/LLVM target triples when using Scala Native #3424

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bynux-gh
Copy link

This commit is meant to resolve issue #2766 by adding both a directive:

//> using nativeTargetTriple arch-mnfctr-opsys

and a command line option (--native-target-triple) that can successfully pass the target triple to Scala Native for cross-compiling projects.

As previously mentioned, this is a very experimental option with limited reach. Use with caution, and don't hesitate to provide suggestions for a better approach :)

@bynux-gh bynux-gh changed the title Added CLI flag & directive for clang/LLVM target triples when using Scala Native Add CLI flag & directive for clang/LLVM target triples when using Scala Native Jan 15, 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.

1 participant