Add cargo-build-bpf (bp #13040) (#13075)

* Add cargo-build-bpf

(cherry picked from commit 07a853d6cc)

* Remove do.sh

(cherry picked from commit 61be155413)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-22 03:09:52 +00:00
committed by GitHub
parent 60297951ec
commit e0ae54fd7e
43 changed files with 484 additions and 209 deletions

5
cargo-build-bpf Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
here=$(dirname "$0")
set -x
exec cargo run --manifest-path $here/sdk/cargo-build-bpf/Cargo.toml -- --bpf-sdk $here/sdk/bpf "$@"