/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
libs/dcore/build.rs
14 строк
413 B
David Sherret
refactor: force a reason on clippy overrides (#32761)
16 мар 2026, 15:41
Не верифицирован
16 мар 2026, 15:41
39a07b2
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. #![allow(clippy::disallowed_methods, reason = "build code")] use std::env; use std::fs; use std::path::Path; fn main() { let out_dir = env::var_os("OUT_DIR").unwrap(); let snapshot = deno_core_testing::create_snapshot(); let dest_path = Path::new(&out_dir).join("SNAPSHOT.bin"); fs::write(dest_path, snapshot).expect("Failed to write snapshot"); }