Skip to content

Consider building/linking run-make-support as a dylib instead of a static lib #131810

Closed
@Zalathar

Description

@Zalathar

While looking at the code that compiletest uses to build auxiliary crates as dylibs, it occurred to me that run-make tests could potentially benefit from linking to run-make-support dynamically.

This could perhaps result in less bloated rmake executables and faster builds/rebuilds, though that's pure conjecture as I haven't actually tried it. On the other hand, it's possible that the extra effort/complexity required to do so might not be worth it, especially if some of that complexity is in bootstrap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-run-makeArea: port run-make Makefiles to rmake.rsC-discussionCategory: Discussion or questions that doesn't represent real issues.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions