mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
fix: cargo publish fails without absolute paths (#13993)
This reverts commit 4e3ed37037
.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
418c1eb4b3
commit
f7ab41583e
13 changed files with 131 additions and 30 deletions
|
@ -27,6 +27,7 @@ use serde::Serialize;
|
|||
use std::borrow::Cow;
|
||||
use std::cell::RefCell;
|
||||
use std::fmt;
|
||||
use std::path::PathBuf;
|
||||
use std::usize;
|
||||
|
||||
use crate::blob::op_blob_create_object_url;
|
||||
|
@ -352,6 +353,10 @@ fn op_encoding_encode_into(
|
|||
})
|
||||
}
|
||||
|
||||
pub fn get_declaration() -> PathBuf {
|
||||
PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_web.d.ts")
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct DomExceptionQuotaExceededError {
|
||||
pub msg: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue