diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 10:43:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-27 10:43:16 -0500 |
| commit | f5840bdcd360ec0bac2501f333e58e25742b1537 (patch) | |
| tree | 7eb0818d2cafa0f6824e81b6ed2cfb609830971e /runtime/build.rs | |
| parent | 1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff) | |
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/build.rs')
| -rw-r--r-- | runtime/build.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index 3be20ad97..10490a871 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -1,12 +1,14 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::env; -use std::path::Path; + use std::path::PathBuf; // This is a shim that allows to generate documentation on docs.rs #[cfg(not(feature = "docsrs"))] mod not_docs { + use std::path::Path; + use super::*; use deno_cache::SqliteBackedCache; use deno_core::snapshot_util::*; @@ -198,7 +200,6 @@ fn main() { if env::var_os("DOCS_RS").is_some() { let snapshot_slice = &[]; std::fs::write(&runtime_snapshot_path, snapshot_slice).unwrap(); - return; } #[cfg(not(feature = "docsrs"))] |
