Skip to content

Rollup of 8 pull requests #99892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jul 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d411a08
Htmldocck: Substitute the doc channel when blessing
fmease Jul 26, 2022
79e0543
Use String::from_utf8_lossy in CStr demo
workingjubilee Jul 26, 2022
d48a869
Force the Cow into a String
workingjubilee Jul 26, 2022
645a883
Update mentions to `rustc_metadata::rmeta::Lazy`
JohnTitor Jul 27, 2022
e849f9b
doc/rustc: describe the uefi target platforms
dvdhrm Jul 26, 2022
1e584d2
add suggestion when there is a impl of external trait on pointer
vincenzopalazzo Jul 24, 2022
957fe0b
Update custom.md
Jul 28, 2022
c2c70e2
Remove Clean trait implementation for ty::Visibility
GuillaumeGomez Jul 28, 2022
961dce4
Remove Clean trait implementation for VariantStruct
GuillaumeGomez Jul 28, 2022
660dc6f
Remove Clean trait implementation for VariantData fields
GuillaumeGomez Jul 28, 2022
e1e736b
Clone the `src/llvm-project` submodule if profiling is enabled
Noratrieb Jul 28, 2022
a573adf
Rollup merge of #99686 - vincenzopalazzo:macros/impl_on_ptr, r=compil…
JohnTitor Jul 29, 2022
b7beec9
Rollup merge of #99760 - dvdhrm:rw/uefiplat, r=ehuss
JohnTitor Jul 29, 2022
55296c4
Rollup merge of #99766 - fmease:htmldocck-subst-channel-when-blessing…
JohnTitor Jul 29, 2022
9b3f49f
Rollup merge of #99781 - workingjubilee:demo-string-from-cstr, r=thomcc
JohnTitor Jul 29, 2022
fd3610e
Rollup merge of #99803 - JohnTitor:update-lazy-docs, r=compiler-errors
JohnTitor Jul 29, 2022
da3f951
Rollup merge of #99845 - xtexChooser:patch-1, r=GuillaumeGomez
JohnTitor Jul 29, 2022
51dda50
Rollup merge of #99850 - GuillaumeGomez:clean-more-items, r=notriddle
JohnTitor Jul 29, 2022
a8f77ad
Rollup merge of #99872 - Nilstrieb:bootstrap-llvm, r=jyn514
JohnTitor Jul 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clone the src/llvm-project submodule if profiling is enabled
To compile rustc with profiling information, `compiler-rt` from
LLVM is required. Building it requires the `src/llvm-project` submodule
to be initialized and updated.
  • Loading branch information
Noratrieb committed Jul 28, 2022
commit e1e736b2a3fb1322a34387d251aa1a78f81be78b
5 changes: 5 additions & 0 deletions src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ impl Step for Std {

builder.update_submodule(&Path::new("library").join("stdarch"));

// Profiler information requires LLVM's compiler-rt
if builder.config.profiler {
builder.update_submodule(&Path::new("src/llvm-project"));
}

let mut target_deps = builder.ensure(StartupObjects { compiler, target });

let compiler_to_use = builder.compiler_for(compiler.stage, compiler.host, target);
Expand Down