Skip to content

run-make: do not use relative links to refer to compiler/stdlib sources, we should introduce some CHECKOUT_ROOT env var/helper. #126071

Closed
@jieyouxu

Description

@jieyouxu

Some run-make tests refer to stdlib sources with "../../../library/alloc/src/lib.rs" which seems not ideal. @Kobzol suggested that we should introduce a CHECKOUT_ROOT helper to make this less fragile.

Metadata

Metadata

Assignees

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions