diff options
| author | Luke Channings <461449+LukeChannings@users.noreply.github.com> | 2022-10-15 16:21:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-15 20:51:04 +0530 |
| commit | fa22956a8616c34482b10bb3ae1aed76ad017c3e (patch) | |
| tree | 72faa8304d74bf8ec910e8bfcd9af7cf80a5cca2 /Cargo.lock | |
| parent | e32719c2915aee9055327609ef03cf9bfc2b1785 (diff) | |
refactor(build): better handle old glibc (#16238)
Follow-up to #16208.
- Refactors build.rs behaviour to use `-exported_symbols_list` /
`--export-dynamic-symbol-list`
- Since all build systems now rely on a symbols list file, I have added
`generate_exported_symbols_list`, which derives the symbol list file
depending on the platform, which makes `tools/napi/generate_link_win.js`
redundant.
- Fixes a missed instance of `i8` being used instead of `c_char`
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 1799a10bb..5e4913561 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -843,6 +843,7 @@ dependencies = [ "flaky_test", "flate2", "fwdansi", + "glibc_version", "google-storage1", "http", "import_map", @@ -2048,6 +2049,15 @@ dependencies = [ ] [[package]] +name = "glibc_version" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "803ff7635f1ab4e2c064b68a0c60da917d3d18dc8d086130f689d62ce4f1c33e" +dependencies = [ + "regex", +] + +[[package]] name = "glob" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" |
