Skip to content

Commit

Permalink
fix rust_wasm_build
Browse files Browse the repository at this point in the history
  • Loading branch information
007gzs committed Feb 27, 2025
1 parent 45fdd95 commit 8be591d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-push-wasm-plugin-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ jobs:
command="
set -e
cd /workspace/plugins/wasm-rust/extensions/${PLUGIN_NAME}
if [ -f ./.prebuild ]; then
echo 'Found .prebuild file, sourcing it...'
. ./.prebuild
fi
cargo build --target wasm32-wasip1 --release
cp target/wasm32-wasip1/release/*.wasm plugin.wasm
tar czvf plugin.tar.gz plugin.wasm
Expand Down
1 change: 0 additions & 1 deletion plugins/wasm-rust/extensions/ai-data-masking/.buildrc

This file was deleted.

3 changes: 3 additions & 0 deletions plugins/wasm-rust/extensions/ai-data-masking/.prebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
apt-get update
apt-get install gcc gcc-multilib llvm clang -y
apt-get clean

0 comments on commit 8be591d

Please sign in to comment.