Jan Haller
595ac27632
Fix Windows symlink test to give reproducible error messages
...
After a `git clone -c core.symlinks=false` and `cargo test`, the script outputs a Git error as expected.
When running `cargo test` again, the error message changes to "symlink support needs to be enabled".
The test is done for an already existing directory, and the Windows mklink command _fails_ when the symlink exists already.
This commit deletes the link prior to the symlink creation.
2020-10-13 22:48:08 +02:00
David Tolnay
c9c197bff9
Try to detect symlinking disabled on Windows
2020-10-11 03:49:37 -07:00
David Tolnay
a00021934e
Emphasize difference between git builds vs crates.io
2020-10-11 03:10:34 -07:00
David Tolnay
188d9f1256
Display usable clone command on symlink error
2020-10-11 02:37:51 -07:00
David Tolnay
65b66f2091
Factor out common symlink check build script
2020-10-11 02:36:16 -07:00
David Tolnay
c4dcb91ae6
Automatically run cargo vendor from bazel
2020-10-09 20:40:42 -07:00
David Tolnay
d41eef59c9
Change test suite's include_prefix to match workspace path
2020-10-08 16:57:55 -07:00
David Tolnay
0489527aec
Combine buck codegen steps into one run of cxxbridge
2020-09-27 17:41:42 -04:00
David Tolnay
d1ca05aa1c
Implement buck genrule using -o instead of redirection
2020-09-27 17:41:08 -04:00
David Tolnay
8b7878ccff
Combine bazel codegen steps into one run of cxxbridge
2020-09-27 17:16:36 -04:00
David Tolnay
73d129dfd9
Wrap run_binary args
2020-09-25 20:26:25 -04:00
David Tolnay
5a3ddf1f0e
Switch from genrule to run_binary for Bazel
2020-09-25 20:26:14 -04:00
David Tolnay
717c7e6aa8
Factor out genrules to rust_cxx_bridge.bzl
2020-09-24 10:08:10 -04:00
David Tolnay
55151b4575
Match bazel's semantics for genrule cmd
2020-09-24 09:40:27 -04:00
David Tolnay
63576d458d
Move build -> tools/bazel
...
Fixes https://github.com/dtolnay/cxx/issues/45 .
2020-02-25 00:13:25 -08:00