@weft-js/compiler-darwin-arm64 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -3
- package/package.json +1 -1
- package/weft-compiler.node +0 -0
package/README.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://github.com/Ravonus/weft"><img src="https://raw.githubusercontent.com/Ravonus/weft/main/site/public/logo.svg" width="72" height="72" alt="Weft"></a>
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
<h1 align="center">@weft-js/compiler-darwin-arm64</h1>
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
<p align="center">
|
|
8
|
+
<strong>Weft's Rust compiler as a native Node addon for darwin-arm64.</strong><br>
|
|
9
|
+
Installed for you by <a href="https://www.npmjs.com/package/@weft-js/core">@weft-js/core</a>. You never depend on it directly.
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="https://www.npmjs.com/package/@weft-js/compiler-darwin-arm64"><img src="https://img.shields.io/npm/v/@weft-js/compiler-darwin-arm64?color=145c3c&label=npm" alt="npm version"></a>
|
|
14
|
+
<a href="https://github.com/Ravonus/weft/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-145c3c" alt="MIT license"></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
## What this is
|
|
18
|
+
|
|
19
|
+
[@weft-js/core](https://www.npmjs.com/package/@weft-js/core) lists one of these addons per platform in its
|
|
20
|
+
`optionalDependencies`. Your package manager installs only the one that matches your OS, CPU and C library, and
|
|
21
|
+
core's compiler loader picks it up. When no addon fits, or the one installed is a different version or fails to load,
|
|
22
|
+
core runs the same compiler as WebAssembly instead: the output is byte-identical, a little slower to produce.
|
|
23
|
+
`npx weft doctor` says which one your app is using.
|
|
24
|
+
|
|
25
|
+
| Platform | Package |
|
|
26
|
+
| ------------------ | -------------------------------------- |
|
|
27
|
+
| macOS, Apple silicon | `@weft-js/compiler-darwin-arm64` |
|
|
28
|
+
| macOS, Intel | `@weft-js/compiler-darwin-x64` |
|
|
29
|
+
| Linux x64, glibc | `@weft-js/compiler-linux-x64-gnu` |
|
|
30
|
+
| Linux x64, musl | `@weft-js/compiler-linux-x64-musl` |
|
|
31
|
+
| Linux arm64, glibc | `@weft-js/compiler-linux-arm64-gnu` |
|
|
32
|
+
| Linux arm64, musl | `@weft-js/compiler-linux-arm64-musl` |
|
|
33
|
+
| Windows x64 | `@weft-js/compiler-win32-x64` |
|
|
34
|
+
| Everything else | WebAssembly, built into core |
|
|
35
|
+
|
|
36
|
+
## Links
|
|
37
|
+
|
|
38
|
+
- [Compiler source](https://github.com/Ravonus/weft/tree/main/crates/weft-compiler) (Rust, on [Oxc](https://oxc.rs))
|
|
39
|
+
- [@weft-js/core](https://www.npmjs.com/package/@weft-js/core) and [Weft on GitHub](https://github.com/Ravonus/weft)
|
|
40
|
+
- [Changelog](https://github.com/Ravonus/weft/blob/main/CHANGELOG.md) · [Issues](https://github.com/Ravonus/weft/issues)
|
|
41
|
+
|
|
42
|
+
MIT licensed.
|
package/package.json
CHANGED
package/weft-compiler.node
CHANGED
|
Binary file
|