fix: syntax highlighting was broken in bundled app
This commit is contained in:
1 parent
8170076e9b
commit
8e78a5fc2b
4 files changed
+41
-28
No files matched your search
@@ -1,9 +0,0 @@
|
||||
fn main() {
|
||||
// syntect and fastembed both reach onig_sys across separate Rust dylibs.
|
||||
// Keep the vendored static archive on this dylib's final native link line.
|
||||
if std::env::var("CARGO_CFG_TARGET_ENV").as_deref() == Ok("msvc") {
|
||||
println!("cargo:rustc-link-arg=onig.lib");
|
||||
} else {
|
||||
println!("cargo:rustc-link-arg=-lonig");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user