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.
-gnu
binary_specifier
1 parent a444895 commit 4680701Copy full SHA for 4680701
src/oxc.rs
@@ -29,7 +29,7 @@ impl OxcExtension {
29
};
30
31
Ok(format!(
32
- "@oxlint/{platform}-{arch}/{binary}",
+ "@oxlint/{platform}-{arch}{build}/{binary}",
33
platform = match platform {
34
zed::Os::Mac => "darwin",
35
zed::Os::Linux => "linux",
@@ -40,6 +40,10 @@ impl OxcExtension {
40
zed::Architecture::X8664 => "x64",
41
_ => return Err(format!("unsupported architecture: {arch:?}")),
42
},
43
+ build = match platform {
44
+ zed::Os::Linux => "-gnu",
45
+ _ => "",
46
+ },
47
binary = binary_name,
48
))
49
}
0 commit comments