Skip to content

Commit d71493e

Browse files
committed
build: add WebAssembly configuration
1 parent 4300a3c commit d71493e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

lib/node_modules/@stdlib/math/base/special/floor/manifest.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"options": {
3-
"task": "build"
3+
"task": "build",
4+
"wasm": false
45
},
56
"fields": [
67
{
@@ -27,6 +28,7 @@
2728
"confs": [
2829
{
2930
"task": "build",
31+
"wasm": false,
3032
"src": [
3133
"./src/floor.c"
3234
],
@@ -43,6 +45,7 @@
4345
},
4446
{
4547
"task": "benchmark",
48+
"wasm": false,
4649
"src": [
4750
"./src/floor.c"
4851
],
@@ -57,6 +60,7 @@
5760
},
5861
{
5962
"task": "examples",
63+
"wasm": false,
6064
"src": [
6165
"./src/floor.c"
6266
],
@@ -68,6 +72,21 @@
6872
],
6973
"libpath": [],
7074
"dependencies": []
71-
}
75+
},
76+
{
77+
"task": "build",
78+
"wasm": true,
79+
"src": [
80+
"./src/floor.c"
81+
],
82+
"include": [
83+
"./include"
84+
],
85+
"libraries": [
86+
"-lm"
87+
],
88+
"libpath": [],
89+
"dependencies": []
90+
}
7291
]
7392
}

0 commit comments

Comments
 (0)