Compare commits

...

2 Commits

Author SHA1 Message Date
Shadowfacts 3b88b82584 Include swiftrt.o in binary 2023-01-03 14:10:23 -05:00
Shadowfacts 3402b05893 Remove twitter link 2023-01-03 13:54:51 -05:00
2 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,12 @@ fn main() {
target.paths.runtime_library_paths.iter().for_each(|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
);
}
}
@ -23,6 +29,7 @@ pub struct SwiftTargetInfo {
#[serde(rename_all = "camelCase")]
pub struct SwiftPaths {
pub runtime_library_paths: Vec<String>,
pub runtime_resource_path: String,
}
#[derive(Debug, Deserialize)]

View File

@ -84,7 +84,6 @@
<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("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>
</ul>
</nav>