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

[SR-13805] Running source files with REPL not working on Windows #56202

Closed
swift-ci opened this issue Nov 2, 2020 · 0 comments
Closed

[SR-13805] Running source files with REPL not working on Windows #56202

swift-ci opened this issue Nov 2, 2020 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself Windows Platform: Windows

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Nov 2, 2020

Previous ID SR-13805
Radar None
Original Reporter svanimpe (JIRA User)
Type Bug
Status Closed
Resolution Duplicate
Environment

Swift 5.5 on Windows

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Windows
Assignee None
Priority Medium

md5: c8c5c9d8eb25cf5853b3e050c9cebe84

duplicates:

Issue Description:

When I attempt to run a file as swift file.swift, the result is <unknown>:0: error: could not load the swift standard library

I have also tried using the commands to start the REPL with file.swift as an argument, but the result is the same:

path %ProgramFiles(x86)%\Microsoft Visual Studio\Shared\Python37_64;%PATH%
set SWIFTFLAGS=-sdk %SDKROOT% -I %SDKROOT%/usr/lib/swift -L SDKROOT%/usr/lib/swift/windows
swift repl -target x86_64-unknown-windows-msvc %SWIFTFLAGS% file.swift
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself Windows Platform: Windows
Projects
None yet
Development

No branches or pull requests

1 participant