You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,34 @@ full changeset diff at the end of each section.
15
15
Current Trunk
16
16
-------------
17
17
18
-
- Add support for non-nullable table types and initialization expressions for
18
+
- Rename `MemorySegment` functions to `DataSegment` in the c and js apis
19
+
- Rename `BinaryenGetNumMemorySegments` to `BinaryenGetNumDataSegments` in c api.
20
+
- Rename `BinaryenGetMemorySegmentByteOffset` to `BinaryenGetDataSegmentByteOffset` in c api.
21
+
- Rename `BinaryenGetMemorySegmentByteLength` to `BinaryenGetDataSegmentByteLength` in c api.
22
+
- Rename `BinaryenGetMemorySegmentPassive` to `BinaryenGetDataSegmentPassive` in c api.
23
+
- Rename `BinaryenCopyMemorySegmentData` to `BinaryenCopyDataSegmentData` in c api.
24
+
- Rename `module.getNumMemorySegments` to `module.getNumDataSegments` in js api.
25
+
- Rename `module.getMemorySegmentInfo` to `module.getDataSegmentInfo` in js api.
26
+
27
+
v129
28
+
----
29
+
30
+
- Add a `BinaryenDataSegmentRef` type to the C API. (#8286)
31
+
- Add `BinaryenGetDataSegment` and `BinaryenGetDataSegmentByIndex` to the C API, which allow looking up a data segment by name or index.
32
+
- Add `BinaryenDataSegmentGetName` to the C API, which allows looking up a data segment's name.
33
+
- Convert `BinaryenGetMemorySegmentByteOffset`, `BinaryenGetMemorySegmentByteLength`, `BinaryenGetMemorySegmentPassive` and `BinaryenCopyMemorySegmentData` to take a `BinaryenDataSegmentRef` instead of a name.
34
+
- Add `module.getDataSegment`, `module.getDataSegmentByIndex` to the JS API, which allows looking up a data segment by name or index.
35
+
- Convert `module.getMemorySegmentInfo` to take a data segment reference instead of a name, and return the name as part of the info.
36
+
- Add support for non-nullable table types and initialization expressions for
19
37
tables. This comes with a breaking change to C API: `BinaryenAddTable` takes
20
38
an additional `BinaryenExpressionRef` parameter to provide an initialization
21
39
expression. This may be set to NULL for tables without an initializer. In JS
22
40
this parameter is optional and so is not breaking. (#8405)
41
+
-[multibyte] Add multibyte array store and load instructions. (#8059, #8504)
42
+
- MinifyImportsAndExports now has a new output format using JSON. This was
43
+
changed while fixing bugs with colliding module names (to avoid two breaking
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -412,7 +412,9 @@ After that you can build with CMake:
412
412
cmake .&& make
413
413
```
414
414
415
-
A C++17 compiler is required. On macOS, you need to install `cmake`, for example, via `brew install cmake`. Note that you can also use `ninja` as your generator: `cmake -G Ninja . && ninja`.
415
+
A C++20 compiler is required. On macOS, you need to install `cmake`, for
416
+
example, via `brew install cmake`. Note that you can also use `ninja` as your
417
+
generator: `cmake -G Ninja . && ninja`.
416
418
417
419
To avoid the gtest dependency, you can pass `-DBUILD_TESTS=OFF` to cmake.
0 commit comments