Skip to content

Commit

Permalink
Remove unused "mem" feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Dec 5, 2021
1 parent c19b63d commit e7fd5ec
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hermit-sys/build.rs
Expand Up @@ -153,13 +153,6 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
rename_symbol("rust_begin_unwind", &lib);
rename_symbol("rust_oom", &lib);

#[cfg(feature = "mem")]
{
for symbol in ["memcpy", "memmove", "memset", "memcmp", "bcmp"] {
rename_symbol(symbol, &lib);
}
}

println!("cargo:rustc-link-search=native={}", lib_location.display());
println!("cargo:rustc-link-lib=static=hermit");

Expand Down

0 comments on commit e7fd5ec

Please sign in to comment.