summaryrefslogtreecommitdiff
path: root/libc/ci/docker/wasm32-unknown-emscripten/node-wrapper.sh
blob: 3122e2e23b41531323aa4981f24f27063c9997cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

me=$1
shift
dir=$(dirname $me)
file=$(basename $me)

if echo $file | grep -q wasm; then
  exit 0 # FIXME(rust-lang/cargo#4750)
fi

cd $dir
exec node $file "$@"