Compare commits
No commits in common. "3b88b825842f6e0c15eb18e83b3454388e80df0b" and "592692c004f29c85f235662c8a5e9c11d69472c1" have entirely different histories.
3b88b82584
...
592692c004
7
build.rs
7
build.rs
|
@ -10,12 +10,6 @@ fn main() {
|
||||||
target.paths.runtime_library_paths.iter().for_each(|path| {
|
target.paths.runtime_library_paths.iter().for_each(|path| {
|
||||||
println!("cargo:rustc-link-arg=-Wl,-rpath={}", path);
|
println!("cargo:rustc-link-arg=-Wl,-rpath={}", path);
|
||||||
});
|
});
|
||||||
|
|
||||||
let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap();
|
|
||||||
println!(
|
|
||||||
"cargo:rustc-link-arg={}/linux/{}/swiftrt.o",
|
|
||||||
&target.paths.runtime_resource_path, arch
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +23,6 @@ pub struct SwiftTargetInfo {
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct SwiftPaths {
|
pub struct SwiftPaths {
|
||||||
pub runtime_library_paths: Vec<String>,
|
pub runtime_library_paths: Vec<String>,
|
||||||
pub runtime_resource_path: String,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
|
|
|
@ -84,6 +84,7 @@
|
||||||
<li>{{ Self::fancy_link("Email", "mailto:me@shadowfacts.net", Some("rel=me"))|safe }}</li>
|
<li>{{ Self::fancy_link("Email", "mailto:me@shadowfacts.net", Some("rel=me"))|safe }}</li>
|
||||||
<li>{{ Self::fancy_link("RSS", "/feed.xml", None)|safe }}</li>
|
<li>{{ Self::fancy_link("RSS", "/feed.xml", None)|safe }}</li>
|
||||||
<li>{{ Self::fancy_link("GitHub", "https://github.com/shadowfacts", Some("rel=me"))|safe }}</li>
|
<li>{{ Self::fancy_link("GitHub", "https://github.com/shadowfacts", Some("rel=me"))|safe }}</li>
|
||||||
|
<li>{{ Self::fancy_link("Twitter", "https://twitter.com/ShadowfactsDev", Some("rel=me"))|safe }}</li>
|
||||||
<li>{{ Self::fancy_link("Mastodon", "https://social.shadowfacts.net/users/shadowfacts", Some("rel=me"))|safe }}</li>
|
<li>{{ Self::fancy_link("Mastodon", "https://social.shadowfacts.net/users/shadowfacts", Some("rel=me"))|safe }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in New Issue