David Tolnay
cf54e49278
Update bazel and buck srcs globs to refer only to .rs files
2022-08-01 16:57:09 -07:00
David Tolnay
e09caa6a1f
Enforce edition on all Bazel targets
2022-04-10 18:07:47 -07:00
David Tolnay
5126af7eb5
Replace lazy_static with once_cell
2022-01-03 12:29:28 -08:00
David Tolnay
339fbf9083
Add alloc feature behind feature gate
2021-12-07 15:06:07 -08:00
David Tolnay
2040717efa
Fill in missing rust_proc_macro Bazel import
2021-10-26 19:37:29 -07:00
Marcel Hlopko
0ad4fe5543
Migrate cxx for bazelbuild/rules_rust#591
2021-10-26 08:16:00 +02:00
David Tolnay
4309c43a5b
Remove rules that override rules_rust's default edition
2021-08-14 13:09:16 -07:00
David Tolnay
66ebdd1d1f
Move fallback to scratch crate's out dir
2020-10-08 19:31:48 -07:00
David Tolnay
a8beeef131
Import scratch crate
2020-10-08 19:29:21 -07:00
David Tolnay
4563fb1c74
Add lazy_static dep to cxx-build
2020-10-08 16:43:19 -07:00
David Tolnay
ee907be404
Use Cargo's build script metadata feature to make reliable include dirs
2020-10-08 16:14:53 -07: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
9f6c075e3c
Inline cxx-symbols crate into cxx
...
The separation is no longer needed for Buck when linking with lld.
2020-09-07 22:31:03 -07:00
David Tolnay
83f71155f2
Linearize cycle dependency between cxx crate and cxx.cc
2020-09-06 21:15:06 -07:00
David Tolnay
585a9fe8d4
Remove link-cplusplus dependency from non-Cargo builds
2020-08-30 21:03:38 -07:00
David Tolnay
bb3ba50a8c
Replace anyhow dependency with a handwritten reporter
2020-08-30 20:22:41 -07:00
David Tolnay
1fd4813a89
Fix //:lib bazel build
2020-08-29 22:46:35 -07:00
Adrian Taylor
7ca810b1e8
Guess at BUCK and BUILD rules.
2020-08-24 17:58:36 -07:00
David Tolnay
b316d0bb1c
Remove structopt from third-party
2020-07-30 22:42:34 -07:00
David Tolnay
dd24719b97
Update bazel Rust rules
2020-07-30 22:30:02 -07:00
David Tolnay
f8ed07327b
Split cxx runtime and build components
2020-04-29 18:23:14 -07:00
David Tolnay
52509840c7
Replace thiserror dependency with handwritten impls
...
A dependency wasn't carrying its weight for just two Error impls.
2020-04-25 19:46:49 -07:00
David Tolnay
e2e7bc3c9e
Update to codespan-reporting 0.9
2020-03-18 15:17:37 -07:00
David Tolnay
736cbcad40
Move header include path to rust/cxx.h
2020-03-11 16:51: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
671dff87d6
Preserve hyphens in third-party crate names
2020-02-24 16:48:03 -08:00
David Tolnay
c19936ce74
Add bazel targets
2020-02-22 16:01:35 -08:00