mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 04:52:26 -05:00
57dd66ec3d
This slightly degrades the performance of CJS export analysis on subsequent runs because I changed it to no longer cache in the DENO_DIR with this PR (denort now properly has no idea about the DENO_DIR). We'll have to change it to embed this data in the binary and that will also allow us to get rid of swc in denort (will do that in a follow-up PR).
11 lines
280 B
Rust
11 lines
280 B
Rust
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
|
|
fn main() {
|
|
// Skip building from docs.rs.
|
|
if std::env::var_os("DOCS_RS").is_some() {
|
|
return;
|
|
}
|
|
|
|
deno_runtime::deno_napi::print_linker_flags("denort");
|
|
deno_runtime::deno_webgpu::print_linker_flags("denort");
|
|
}
|