Skip to content

Respect the fileextension with roc build --lib --output file.extension #6617

Open
@ostcar

Description

@ostcar

When you call roc build --lib --output file.EXTENSION, the fileextension is changed to .so. This is as least true for linux.

The reason is this line:

output_path.set_extension("so");

This can not be changed without changes on other parts of roc. For example this code expects a filename with a .so extension on target linux and other specific fileextensions for other targets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelates to roc cli toolingenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions