zingolib icon indicating copy to clipboard operation
zingolib copied to clipboard

BUCK and/or Bazel rules_rust proof-of-concept experiment

Open skyl opened this issue 3 years ago • 2 comments

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

skyl avatar Jul 05 '22 00:07 skyl

Interesting tidbit https://cxx.rs/build/bazel.html

skyl avatar Jul 05 '22 01:07 skyl

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.

skyl avatar Jul 05 '22 01:07 skyl