diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-10 19:23:03 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-10 21:16:44 +0000 |
| commit | 2dbc976f5d1e49343cba31c0b3a529c2f4d3d271 (patch) | |
| tree | 357d13e9597ce97c97543e652ecf733ddac7ff0a /src/bootstrap | |
| parent | 04ba50e8233042f810206c2cd18aace50961e247 (diff) | |
| download | rust-2dbc976f5d1e49343cba31c0b3a529c2f4d3d271.tar.gz rust-2dbc976f5d1e49343cba31c0b3a529c2f4d3d271.zip | |
Distribute rustc_codegen_cranelift for Windows
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/dist.rs | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs index 43306eab1b1..9edbb130905 100644 --- a/src/bootstrap/src/core/build_steps/dist.rs +++ b/src/bootstrap/src/core/build_steps/dist.rs @@ -1361,18 +1361,9 @@ impl Step for CodegenBackend { return None; } - if self.backend == "cranelift" { - if !target_supports_cranelift_backend(self.compiler.host) { - builder.info("target not supported by rustc_codegen_cranelift. skipping"); - return None; - } - - if self.compiler.host.is_windows() { - builder.info( - "dist currently disabled for windows by rustc_codegen_cranelift. skipping", - ); - return None; - } + if self.backend == "cranelift" && !target_supports_cranelift_backend(self.compiler.host) { + builder.info("target not supported by rustc_codegen_cranelift. skipping"); + return None; } let compiler = self.compiler; |
