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

swiftc crashes on -emit-supported-features #1749

Open
hnrklssn opened this issue Dec 5, 2024 · 2 comments
Open

swiftc crashes on -emit-supported-features #1749

hnrklssn opened this issue Dec 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hnrklssn
Copy link

hnrklssn commented Dec 5, 2024

Description

Locally built swiftc crashes when called with -emit-supported-features.

Reproduction

No input program needed, just run:

$ build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/bin/swiftc -emit-supported-features

Stack dump

output:

SwiftDriver/Driver.swift:2311: Fatal error: unhandled output mode option -emit-supported-features
fish: Job 1, '/Volumes/UserData/Code/src-swif…' terminated by signal SIGTRAP (Trace or breakpoint trap)


### Expected behavior

An appropriate error message or list of supported features

### Environment

Swift version 6.1-dev (LLVM 71fe56bbf73af5a, Swift 7d044bd62c4672a)
Target: arm64-apple-macosx15.0

### Additional information

_No response_
@hnrklssn hnrklssn added the bug Something isn't working label Dec 5, 2024
@AnthonyLatsis
Copy link

AnthonyLatsis commented Dec 6, 2024

@hamishknight This looks like it should be transferred to the driver repo.

@hamishknight hamishknight transferred this issue from swiftlang/swift Dec 6, 2024
@rjmansfield
Copy link
Contributor

Duplicate of #74910 and resolved with #1645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants