zingolib
zingolib copied to clipboard
BUCK and/or Bazel rules_rust proof-of-concept experiment
What
Try to build with bazel and/or BUCK
Why
Bazel can be a pretty incredible tool for {fast, correct} builds in my experience. BUCK is a competitor that seeks to serve the same purpose.
Reference
https://github.com/google/cargo-raze http://bazelbuild.github.io/rules_rust/
Interesting that there are some BUCK files in zingo-mobile though .. BUCK could work. Seems like it's a little more tailored towards react-native and mobile targets ...
https://buck.build/ https://buck.build/setup/getting_started.html
https://github.com/zingolabs/zingo-mobile/blob/dev/android/app/_BUCK#L1
Interesting tidbit https://cxx.rs/build/bazel.html
See also a great effort to make zcash build on bazel: https://github.com/zcash/zcash/pull/2891/files
Probably should have been prioritized and merged IMHO.