Adrian Taylor
f2d9d86c3d
Simplify test suite.
2020-10-29 21:21:30 -07:00
Adrian Taylor
0fac321939
Adding tests for method calls in foreign namespaces
2020-10-26 15:17:02 -07:00
Adrian Taylor
117d3baac7
Bazel/Buck test build fixups.
...
Sacrifices to satisfy the PR builder guardians.
2020-10-12 16:33:30 -07:00
David Tolnay
362c9f92b0
Touch up PR 356
2020-10-10 16:30:04 -07:00
Adrian Taylor
1931ccf65e
Attempt at BUCK and BUILD files.
2020-10-10 16:19:20 -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
717c7e6aa8
Factor out genrules to rust_cxx_bridge.bzl
2020-09-24 10:08:10 -04:00
David Tolnay
dc57990e22
Use more systematic naming for generated code targets
2020-09-24 10:00:50 -04:00
David Tolnay
0cd342913a
Make buck/bazel generated filepaths match source path with extension
2020-09-24 09:40:27 -04:00
David Tolnay
e02c8b3b98
Load cc_library from @rules_cc
...
Buildifier warns about this now.
Function "cc_library" is not global anymore and needs to be loaded
from "@rules_cc//cc:defs.bzl".buildifier(native-cc)
2020-09-24 08:58:09 -04:00
David Tolnay
e4d30f2257
Set test size of //tests:test Bazel test
...
Without this:
INFO: Analyzed 33 targets (1 packages loaded, 12 targets configured).
INFO: Found 32 targets and 1 test target...
INFO: Elapsed time: 0.905s, Critical Path: 0.66s
INFO: 3 processes: 3 linux-sandbox.
INFO: Build completed successfully, 3 total actions
//tests:test PASSED in 0.1s
WARNING: //tests:test: Test execution time (0.1s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
2020-09-24 08:57:22 -04:00
David Tolnay
25db1555f5
Update import path scheme for tests
2020-09-01 22:41:15 -07:00
David Tolnay
ae4dedab55
Update build files of test suite
2020-05-08 02:23:10 -07:00
David Tolnay
1a2683ac22
Allow .rs.h extension when including generated header
2020-03-17 19:13:22 -07:00
David Tolnay
bffcdd5f4b
Use consistent filenames for generated code
...
This makes it clearer that the filename doesn't need to be connected to
the rule name.
2020-03-17 19:12:38 -07:00
David Tolnay
63576d458d
Move build -> tools/bazel
...
Fixes https://github.com/dtolnay/cxx/issues/45 .
2020-02-25 00:13:25 -08:00
David Tolnay
9bc613e7db
Add test suite targets for buck and bazel
2020-02-23 00:36:44 -08:00