mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Do cargo fmt
This commit is contained in:
parent
e320bd6cdd
commit
6726d93f65
48 changed files with 7294 additions and 3469 deletions
|
@ -31,7 +31,10 @@ pub fn detect_magic_number() -> u32 {
|
|||
.output()
|
||||
.expect("cannot get the magic number from python")
|
||||
} else {
|
||||
let python_command = format!("{} -c 'import importlib.util as util;print(util.MAGIC_NUMBER.hex())'", which_python());
|
||||
let python_command = format!(
|
||||
"{} -c 'import importlib.util as util;print(util.MAGIC_NUMBER.hex())'",
|
||||
which_python()
|
||||
);
|
||||
Command::new("sh")
|
||||
.arg("-c")
|
||||
.arg(python_command)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue