Skip to content

@_silgen_name is not any more exposing any function #76850

Open
@AhmadMhmoud

Description

@AhmadMhmoud

Description

I was exposing (mangling) functions, using "@_silgen_name(function_name). Now when I am building my app does not contain the mangled functions.

Reproduction

@_silgen_name("LogNew")
public static func LogNew(){)

Expected behavior

The function called LogNew should be exposed

Environment

swift-driver version: 1.115
Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @_silgen_nameFeature → attributes: The @_silgen_name attributeattributesFeature: Declaration and type attributesbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfregressionswift 6.0unexpected behaviorBug: Unexpected behavior or incorrect output

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions