sync ports with The Matrix
This commit is contained in:
parent
ec769495ab
commit
f5034afcba
3108 changed files with 91999 additions and 80269 deletions
|
@ -1,7 +1,7 @@
|
|||
Index: cli/standalone/binary.rs
|
||||
--- cli/standalone/binary.rs.orig
|
||||
+++ cli/standalone/binary.rs
|
||||
@@ -143,7 +143,8 @@ pub struct Metadata {
|
||||
@@ -144,7 +144,8 @@ pub struct Metadata {
|
||||
}
|
||||
|
||||
pub fn load_npm_vfs(root_dir_path: PathBuf) -> Result<FileBackedVfs, AnyError> {
|
||||
|
@ -11,11 +11,12 @@ Index: cli/standalone/binary.rs
|
|||
let mut file = std::fs::File::open(file_path)?;
|
||||
file.seek(SeekFrom::End(-(TRAILER_SIZE as i64)))?;
|
||||
let mut trailer = [0; TRAILER_SIZE];
|
||||
@@ -403,7 +404,7 @@
|
||||
target: Option<String>,
|
||||
@@ -414,7 +415,7 @@ impl<'a> DenoCompileBinaryWriter<'a> {
|
||||
compile_flags: &CompileFlags,
|
||||
) -> Result<Vec<u8>, AnyError> {
|
||||
if target.is_none() {
|
||||
if compile_flags.target.is_none() {
|
||||
- let path = std::env::current_exe()?;
|
||||
+ let path = PathBuf::from("${LOCALBASE}/bin/deno");
|
||||
return Ok(std::fs::read(path)?);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue