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

Delimination code will not compile with Windows Visual Studio tools #3784

Closed
ekrich opened this issue Feb 21, 2024 · 3 comments
Closed

Delimination code will not compile with Windows Visual Studio tools #3784

ekrich opened this issue Feb 21, 2024 · 3 comments

Comments

@ekrich
Copy link
Member

ekrich commented Feb 21, 2024

Blocker to #3076

Currently, I am not sure this is supported platform but I had been trying to get this to work.

[info] Generating intermediate code (with debug metadata) (41410 ms)
[error] C:/Users/<user>/workspace/scala-native/sandbox/.2.13/target/scala-2.13/native/dependencies/nativelib_native0.5.0-SNAPSHOT_2.13-0.5.0-SNAPSHOT-0/scala-native/delimcc.c:30:2: error: "Unsupported platform"
[error] #error "Unsupported platform"

The default target triple is defined as follows but I am not sure what macros should be defined.

$ clang --version
clang version 16.0.5
Target: i686-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\bin

Even if we can get the compile working I think the link is still a problem but I can't make progress easily with this blocker.

@ekrich
Copy link
Member Author

ekrich commented Feb 23, 2024

@WojciechMazur Do you think we could put an option on the delim code and then put a conditional define to compile it if the option is selected?

I really would like Scala Native to compile on as many platforms as possible so we could support RISC-V and other system boards like Beagle, Rasp PI, 32bit etc. I have been not able to follow along because I am unable to keep my setups alive given my current desk setup - hoping to change that in the near future.

@ekrich
Copy link
Member Author

ekrich commented Apr 9, 2024

@WojciechMazur I am not seeing this now so maybe this can be closed unless it is a Scala 3 only issue?

@WojciechMazur
Copy link
Contributor

The delimiated continuations part might not be compiled now with #3849
Since the delimiated continuations are not going to be supported now, we can close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants