mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
Try to fix docs.rs for cli crate (#3823)
This commit is contained in:
parent
1c6c6c6d7f
commit
e1b3a0769a
1 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,11 @@ fn op_fetch_asset(
|
|||
}
|
||||
|
||||
fn main() {
|
||||
// Don't build V8 if "cargo doc" is being run. This is to support docs.rs.
|
||||
if env::var_os("RUSTDOCFLAGS").is_some() {
|
||||
return;
|
||||
}
|
||||
|
||||
// To debug snapshot issues uncomment:
|
||||
// deno_typescript::trace_serializer();
|
||||
|
||||
|
|
Loading…
Reference in a new issue