1
0
Fork 0
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:
Ryan Dahl 2020-01-30 03:32:20 -05:00 committed by GitHub
parent 1c6c6c6d7f
commit e1b3a0769a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();