First off, love bazel! Thank you guys for all your hard work. Switched to it at work and I can't believe how much better it is than Makefiles.
I tried using bazel to compile some rust code and followed the instructions from here:
https://github.com/bazelbuild/bazel/blob/master/tools/build_rules/rust/README.md
I cannot get this example to compile. I've got a sample project here: https://github.com/philsc/bazel-rust-tests
$ git clone https://github.com/philsc/bazel-rust-tests brt
Cloning into 'brt'...
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 8 (delta 0), reused 8 (delta 0), pack-reused 0
Unpacking objects: 100% (8/8), done.
Checking connectivity... done.
$ cd brt/ && ls
hello_lib/ WORKSPACE
$ bazel build //hello_lib
......
ERROR: /home/phil/.bazel/base_workspace/tools/build_rules/rust/BUILD:35:1: no such package '@rust-linux-x86_64//': In new_http_archive rule //external:rust-linux-x86_64 the 'build_file' attribute does not specify an existing file (/home/phil/repos/brt/tools/build_rules/rust/rust.BUILD does not exist) and referenced by '//tools/build_rules/rust:rustlib'.
ERROR: Loading failed; build aborted.
INFO: Elapsed time: 137.540s
minitardis/phil [brt] (master) r1,j0,t138
$
This is my bazel verison:
$ bazel version
Build label: 0.1.0
Build target: bazel-out/local_linux-fastbuild/bin/src/main/java/bazel-main_deploy.jar
Build time: Tue Sep 8 23:08:34 2015 (1441753714)
Build timestamp: 1441753714
Build timestamp as int: 1441753714
$
Am I misunderstanding something or is there something missing from the README?
First off, love bazel! Thank you guys for all your hard work. Switched to it at work and I can't believe how much better it is than Makefiles.
I tried using bazel to compile some rust code and followed the instructions from here:
https://github.com/bazelbuild/bazel/blob/master/tools/build_rules/rust/README.md
I cannot get this example to compile. I've got a sample project here: https://github.com/philsc/bazel-rust-tests
This is my bazel verison:
Am I misunderstanding something or is there something missing from the README?