Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix :10489 - Backport to webpack 4: wasm: v128 support
- Loading branch information
Showing
5 changed files
with
133 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
it("should support wasm compiled with v128", function() { | ||
return import("./v128.wasm"); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const supportsWebAssembly = require("../../../helpers/supportsWebAssembly"); | ||
const supportsFeature = require("webassembly-feature"); | ||
|
||
module.exports = function(config) { | ||
return supportsWebAssembly() && supportsFeature.simd(); | ||
}; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters