Skip to content

Conversation

@fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Mar 19, 2022

closes #386

@fengmk2 fengmk2 merged commit a34f2b4 into master Mar 20, 2022
@fengmk2 fengmk2 deleted the libc branch March 20, 2022 00:21
@fengmk2
Copy link
Member Author

fengmk2 commented Mar 20, 2022

5.6.0

yisibl added a commit to thx/resvg-js that referenced this pull request Mar 20, 2022
Currently only [yarn 3.2+](yarnpkg/berry#3981) and [cnpm](cnpm/npminstall#387) are supported.
yisibl added a commit to thx/resvg-js that referenced this pull request Mar 20, 2022
On Linux, it is not possible to tell exactly what kind of C library a native modules depends on just by os/cpu, so yarn 3.2 and cnpm added libc fields to further distinguish this case. This avoids downloading both `gnu` and `musl` packages at the same time.

Currently only [yarn 3.2+](yarnpkg/berry#3981) and [cnpm](cnpm/npminstall#387) are supported, the npm implementation is [still under discussion](npm/rfcs#519).
yisibl added a commit to thx/resvg-js that referenced this pull request Mar 20, 2022
On Linux, it is not possible to tell exactly what kind of C library a native modules depends on just by os/cpu, so yarn 3.2 and cnpm added libc fields to further distinguish this case. This avoids downloading both `gnu` and `musl` packages at the same time.

Currently only [yarn 3.2+](yarnpkg/berry#3981) and [cnpm](cnpm/npminstall#387) are supported, the npm implementation is [still under discussion](npm/rfcs#519).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

支持 libc 版本配置

2 participants