Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Invalid Result IR, using Swift #1132

Open
addodelgrossi opened this issue Apr 27, 2023 · 2 comments
Open

Invalid Result IR, using Swift #1132

addodelgrossi opened this issue Apr 27, 2023 · 2 comments

Comments

@addodelgrossi
Copy link

I'm trying to use swift language, but all executions return IR.

Judge Config

  swiftc: /opt/swift/usr/bin/swiftc

All execution result:

Execution Results
Test case #1:	IR

Is there any configuration required?

@Xyene
Copy link
Member

Xyene commented May 3, 2023

There isn't any other configuration required to get Swift to work. Something is wrong here; usually these things happen because the runtime hits the sandbox in a way that hasn't been whitelisted.

Do self-tests pass?

Are any warnings printed during judge initialization?

Are you using the Docker images provided by https://github.com/DMOJ/runtimes-docker? I'd strongly recommend those, especially if you're using more niche languages, since we ensure that at least runtimes-docker works.

@addodelgrossi
Copy link
Author

Thanks for the reply !

I'm using default settings and docker images, I still haven't been able to resolve the issue.

Do you have any example of a judge's configuration with Swift configured?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants