We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a00fcd commit 04e7098Copy full SHA for 04e7098
src/lib.rs
@@ -214,10 +214,10 @@ impl Build {
214
lib_dir,
215
include_dir,
216
libs: vec![
217
- ast_lib_name.to_string(),
+ vm_lib_name.to_string(),
218
compiler_lib_name.to_string(),
219
+ ast_lib_name.to_string(),
220
custom_lib_name.to_string(),
- vm_lib_name.to_string(),
221
],
222
cpp_stdlib: Self::get_cpp_link_stdlib(target, host),
223
};
@@ -277,7 +277,7 @@ impl Artifacts {
277
278
pub fn print_cargo_metadata(&self) {
279
println!("cargo:rustc-link-search=native={}", self.lib_dir.display());
280
- for lib in self.libs.iter() {
+ for lib in &self.libs {
281
println!("cargo:rustc-link-lib=static={}", lib);
282
}
283
if let Some(ref cpp_stdlib) = self.cpp_stdlib {
0 commit comments