Skip to content

swiftc crashes on -emit-supported-features #1749

Open
@hnrklssn

Description

@hnrklssn

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_

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions