mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 00:59:24 -05:00
chore: Reuse linux symbols list on openbsd and freebsd (#22706)
This commit is contained in:
parent
bebbb61eea
commit
adb0226927
2 changed files with 3 additions and 3 deletions
|
@ -384,7 +384,9 @@ fn main() {
|
|||
}
|
||||
|
||||
let symbols_file_name = match env::consts::OS {
|
||||
"android" => "generated_symbol_exports_list_linux.def".to_string(),
|
||||
"android" | "freebsd" | "openbsd" => {
|
||||
"generated_symbol_exports_list_linux.def".to_string()
|
||||
}
|
||||
os => format!("generated_symbol_exports_list_{}.def", os),
|
||||
};
|
||||
let symbols_path = std::path::Path::new("napi")
|
||||
|
|
|
@ -7,8 +7,6 @@ import exports from "../../cli/napi/sym/symbol_exports.json" assert {
|
|||
|
||||
const symbolExportLists = {
|
||||
linux: `{ ${exports.symbols.map((s) => `"${s}"`).join("; ")}; };`,
|
||||
openbsd: `{ ${exports.symbols.map((s) => `"${s}"`).join("; ")}; };`,
|
||||
freebsd: `{ ${exports.symbols.map((s) => `"${s}"`).join("; ")}; };`,
|
||||
windows: `LIBRARY\nEXPORTS\n${
|
||||
exports.symbols
|
||||
.map((symbol) => " " + symbol)
|
||||
|
|
Loading…
Reference in a new issue