maybe it's good now?

This commit is contained in:
Folkert 2021-07-30 20:32:01 +02:00
commit 7601bcb2fa
91 changed files with 406 additions and 423 deletions

View file

@ -56,7 +56,7 @@ fn find_zig_str_path() -> PathBuf {
}
#[cfg(not(target_os = "macos"))]
fn build_zig_host(
pub fn build_zig_host(
env_path: &str,
env_home: &str,
emit_bin: &str,
@ -86,7 +86,7 @@ fn build_zig_host(
}
#[cfg(target_os = "macos")]
fn build_zig_host(
pub fn build_zig_host(
env_path: &str,
env_home: &str,
emit_bin: &str,
@ -333,7 +333,7 @@ fn link_linux(
output_path,
),
LinkType::Dylib => {
// TODO: do we acually need the version number on this?
// TODO: do we actually need the version number on this?
// Do we even need the "-soname" argument?
//
// See https://software.intel.com/content/www/us/en/develop/articles/create-a-unix-including-linux-shared-library.html
@ -496,7 +496,7 @@ pub fn module_to_dylib(
app_o_file.set_file_name("app.o");
// Emit the .o file using position-indepedent code (PIC) - needed for dylibs
// Emit the .o file using position-independent code (PIC) - needed for dylibs
let reloc = RelocMode::PIC;
let model = CodeModel::Default;
let target_machine =