Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ae144bf
rewrite raw-dylib-inline-cross-dylib to rmake
Oneirical Jul 5, 2024
58e5514
Sync ar_archive_writer to LLVM 18.1.3
bjorn3 Apr 16, 2024
72223e2
Fix building on LLVM 17
bjorn3 Jul 7, 2024
cd3f2f6
Fix review comments
bjorn3 Jul 7, 2024
2a3e22b
Promote the `wasm32-wasip2` target to Tier 2
alexcrichton Jun 24, 2024
1afdd45
Update how wasm-component-ld is built
alexcrichton Jul 9, 2024
4cd6eee
Unconditionally use stage0 build compiler
alexcrichton Jul 9, 2024
b983658
rewrite raw-dylib-custom-dlltool to rmake
Oneirical Jul 5, 2024
c370bf4
Don't use stage0 compiler for wasm-component-ld
alexcrichton Jul 15, 2024
e86fbcf
Move rustc_infer::infer::error_reporting to rustc_infer::error_report…
compiler-errors Jul 9, 2024
7ee97f9
Delegation: support coercion for target expression
Bryanskiy Jun 18, 2024
6ce78be
Update method name to reflect changes to its internals
oli-obk Jul 6, 2024
d0a1851
Deny keyword lifetimes pre-expansion
compiler-errors Jun 20, 2024
63f239c
Rollup merge of #124033 - bjorn3:ar_archive_writer_0_3_0, r=davidtwco
tgross35 Jul 16, 2024
36ea068
Rollup merge of #126699 - Bryanskiy:delegation-coercion, r=compiler-e…
tgross35 Jul 16, 2024
9833e21
Rollup merge of #126762 - compiler-errors:kw-lt, r=michaelwoerister
tgross35 Jul 16, 2024
4e4fa7e
Rollup merge of #126967 - alexcrichton:wasm32-wasip2-tier-2, r=Mark-S…
tgross35 Jul 16, 2024
d18a741
Rollup merge of #127390 - Oneirical:rough-testimation, r=jieyouxu
tgross35 Jul 16, 2024
059222d
Rollup merge of #127501 - compiler-errors:invert-infer-error-mod-stru…
tgross35 Jul 16, 2024
7d534dd
Rollup merge of #127816 - oli-obk:misnomer, r=compiler-errors
tgross35 Jul 16, 2024
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
Update how wasm-component-ld is built
Reuse preexisting macro and switch it to a "bootstrap tool" to try to
resolve build issues.
  • Loading branch information
alexcrichton committed Jul 9, 2024
commit 1afdd45881d39f6af434fba77ae07e68e1b62bce
29 changes: 1 addition & 28 deletions src/bootstrap/src/core/build_steps/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ bootstrap_tool!(
RustdocGUITest, "src/tools/rustdoc-gui-test", "rustdoc-gui-test", is_unstable_tool = true, allow_features = "test";
CoverageDump, "src/tools/coverage-dump", "coverage-dump";
RustcPerfWrapper, "src/tools/rustc-perf-wrapper", "rustc-perf-wrapper";
WasmComponentLd, "src/tools/wasm-component-ld", "wasm-component-ld";
);

#[derive(Debug, Clone, Hash, PartialEq, Eq)]
Expand Down Expand Up @@ -701,34 +702,6 @@ impl Step for LldWrapper {
}
}

#[derive(Debug, Clone, Hash, PartialEq, Eq)]
pub struct WasmComponentLd {
pub compiler: Compiler,
pub target: TargetSelection,
}

impl Step for WasmComponentLd {
type Output = PathBuf;

fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
run.never()
}

fn run(self, builder: &Builder<'_>) -> PathBuf {
builder.ensure(ToolBuild {
compiler: self.compiler,
target: self.target,
tool: "wasm-component-ld",
mode: Mode::ToolStd,
path: "src/tools/wasm-component-ld",
source_type: SourceType::InTree,
extra_features: Vec::new(),
allow_features: "",
cargo_args: Vec::new(),
})
}
}

#[derive(Debug, Clone, Hash, PartialEq, Eq)]
pub struct RustAnalyzer {
pub compiler: Compiler,
Expand Down