To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 1801580b authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano
Browse files

Fixed spelling mistake

parent 48b1e206
...@@ -60,7 +60,7 @@ pub fn link_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf { ...@@ -60,7 +60,7 @@ pub fn link_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf {
ret.push(dest); ret.push(dest);
// include mu static lib // include mu static lib
if vm.vm_options.flag_link_staticly { if vm.vm_options.flag_link_statically {
ret.push(get_path_under_zebu(if cfg!(debug_assertions) { ret.push(get_path_under_zebu(if cfg!(debug_assertions) {
"target/debug/libmu.a" "target/debug/libmu.a"
} else { } else {
...@@ -75,7 +75,7 @@ pub fn link_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf { ...@@ -75,7 +75,7 @@ pub fn link_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf {
out_path.push(out); out_path.push(out);
link_executable_internal( link_executable_internal(
!vm.vm_options.flag_link_staticly, !vm.vm_options.flag_link_statically,
files, files,
&vm.vm_options.flag_bootimage_external_lib, &vm.vm_options.flag_bootimage_external_lib,
&vm.vm_options.flag_bootimage_external_libpath, &vm.vm_options.flag_bootimage_external_libpath,
...@@ -120,7 +120,7 @@ pub fn link_test_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf { ...@@ -120,7 +120,7 @@ pub fn link_test_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf {
ret.push(dest); ret.push(dest);
// include mu static lib // include mu static lib
if vm.vm_options.flag_link_staticly { if vm.vm_options.flag_link_statically {
ret.push(get_path_under_zebu(if cfg!(debug_assertions) { ret.push(get_path_under_zebu(if cfg!(debug_assertions) {
"target/debug/libmu.a" "target/debug/libmu.a"
} else { } else {
...@@ -135,7 +135,7 @@ pub fn link_test_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf { ...@@ -135,7 +135,7 @@ pub fn link_test_primordial(funcs: Vec<MuName>, out: &str, vm: &VM) -> PathBuf {
out_path.push(out); out_path.push(out);
link_executable_internal( link_executable_internal(
!vm.vm_options.flag_link_staticly, !vm.vm_options.flag_link_statically,
files, files,
&vm.vm_options.flag_bootimage_external_lib, &vm.vm_options.flag_bootimage_external_lib,
&vm.vm_options.flag_bootimage_external_libpath, &vm.vm_options.flag_bootimage_external_libpath,
......
...@@ -36,7 +36,7 @@ Compiler: ...@@ -36,7 +36,7 @@ Compiler:
AOT Compiler: AOT Compiler:
--aot-emit-dir=<dir> the emit directory for ahead-of-time compiling [default: emit] --aot-emit-dir=<dir> the emit directory for ahead-of-time compiling [default: emit]
--link-staticly link boot image to libmu staticly (defaults to dynamic) --link-statically link boot image to libmu statically (defaults to dynamic)
--bootimage-external-lib=<lib> ... library that will be linked against when making bootimage [default: ] --bootimage-external-lib=<lib> ... library that will be linked against when making bootimage [default: ]
--bootimage-external-libpath=<path> ... path for the libraries during bootimage generation [default: ] --bootimage-external-libpath=<path> ... path for the libraries during bootimage generation [default: ]
...@@ -60,7 +60,7 @@ pub struct VMOptions { ...@@ -60,7 +60,7 @@ pub struct VMOptions {
// AOT compiler // AOT compiler
pub flag_aot_emit_dir: String, // +0 pub flag_aot_emit_dir: String, // +0
pub flag_link_staticly: bool, // +100 pub flag_link_statically: bool, // +100
pub flag_bootimage_external_lib: Vec<String>, // +24 pub flag_bootimage_external_lib: Vec<String>, // +24
pub flag_bootimage_external_libpath: Vec<String>, // +48 pub flag_bootimage_external_libpath: Vec<String>, // +48
...@@ -83,7 +83,7 @@ rodal_struct!(VMOptions { ...@@ -83,7 +83,7 @@ rodal_struct!(VMOptions {
flag_disable_inline, flag_disable_inline,
flag_disable_regalloc_validate, flag_disable_regalloc_validate,
flag_emit_debug_info, flag_emit_debug_info,
flag_link_staticly, flag_link_statically,
flag_gc_disable_collection flag_gc_disable_collection
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment