Skip to content

Commit

Permalink
Shadow Bytes.hx when targeting WebAssembly.
Browse files Browse the repository at this point in the history
Sadly I don't think there's a way around this, but at least it doesn't have to affect the rest of the targets.

Note to maintainers: if Haxe releases a new version of `Bytes`, copy that entire file and replace `#if cpp` with `#if (cpp || webassembly)`. No other changes should be needed.
  • Loading branch information
player-03 committed Feb 27, 2024
1 parent adfd15e commit 4e8757e
Show file tree
Hide file tree
Showing 2 changed files with 679 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<haxelib name="nodejs" if="nodejs" />
<haxelib name="format" if="java" />

<source path="templates/webassembly/src" if="webassembly" />

<target name="ps3" handler="lime-ps3" />
<haxelib name="lime-ps3" if="ps3" />

Expand Down
Loading

0 comments on commit 4e8757e

Please sign in to comment.