Skip to content

Custom build scripts should be able to set rustc flags #8964

Closed
@catamorphism

Description

@catamorphism

Related to #8522 but not quite the same: There needs to be a way, in librustpkg/api.rs, to set rustc flags. An example scenario, suggested by @erickt , is to make rustpkg build essentially run:

rustc --linker c++ --link-args $(llvm-config --ldflags --libs all) llvm.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions