Skip to content

Bootstrap doesn't clone llvm-project if profiling is enabled #99869

Closed
@Noratrieb

Description

@Noratrieb

When using profiler = true in the cargo.toml to enable profiling, having a local copy of src/llvm-project is required. If no such copy is present, errors about missing libraries are emitted and the build fails.

Expected behavior:
Bootstrap initializes the src/llvm-project submodule when profiler is enabled.

Metadata

Metadata

Assignees

Labels

A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions