Commit Graph

60 Commits

Author SHA1 Message Date
David Tolnay
764d5e90bb
Merge pull request #42 from dtolnay/windows
Enable windows CI
2020-02-24 22:39:41 -08:00
David Tolnay
b3d52389a8
Use platform's path separator when writing cxxbridge.h 2020-02-24 22:20:34 -08:00
David Tolnay
c8a2494a0a
Enable windows CI 2020-02-24 22:20:34 -08:00
David Tolnay
25221c110b
Merge pull request #41 from dtolnay/canonicalize
Remove reliance on fs::canonicalize on Windows
2020-02-24 22:20:17 -08:00
David Tolnay
fa1a2bdb5a
Remove reliance on fs::canonicalize on Windows 2020-02-24 21:58:17 -08:00
David Tolnay
7ce723cae0
Merge pull request #37 from dtolnay/hyphen
Preserve hyphens in bazel third-party crate names
2020-02-24 20:15:32 -08:00
David Tolnay
671dff87d6
Preserve hyphens in third-party crate names 2020-02-24 16:48:03 -08:00
David Tolnay
3fdda34015
Pull in io_bazel_rules_rust update to support hyphens 2020-02-24 16:47:56 -08:00
David Tolnay
44806f760f
Ignore windows build for now 2020-02-24 02:08:10 -08:00
David Tolnay
2a1eaac049
Accept non-\n line endings
On Windows, include_str brings in cxxbridge.h with \r\n line endings.
2020-02-24 02:02:58 -08:00
David Tolnay
bce77ba9fe
Add travis build on windows 2020-02-24 01:54:27 -08:00
David Tolnay
2fc07c11a8
Merge pull request #40 from dtolnay/box
Protect from ADL in Box construction and assignment
2020-02-23 01:06:28 -08:00
David Tolnay
908385887b
Protect from ADL in Box construction and assignment 2020-02-23 00:57:03 -08:00
David Tolnay
54875798ec
Merge pull request #39 from dtolnay/suite
Add test suite targets for buck and bazel
2020-02-23 00:46:22 -08:00
David Tolnay
9bc613e7db
Add test suite targets for buck and bazel 2020-02-23 00:36:44 -08:00
David Tolnay
e3e0a71291
Use the public cxxbridge.h include path 2020-02-23 00:18:57 -08:00
David Tolnay
d1010bdb39
Merge pull request #38 from dtolnay/suite
Add test suite covering various permutations of signatures
2020-02-22 23:03:10 -08:00
David Tolnay
c9bf95703f
Update lockfile to include test suite crate 2020-02-22 22:53:03 -08:00
David Tolnay
f306da4dc7
Test c++ calling to rust 2020-02-22 22:42:35 -08:00
David Tolnay
3fd7f56275
Test rust calling to c++ 2020-02-22 20:02:02 -08:00
David Tolnay
b871577737
Format with clang-format 2020-02-22 19:31:49 -08:00
David Tolnay
ad5b8afd9b
Add exhaustive coverage of signature kinds 2020-02-22 19:31:49 -08:00
David Tolnay
97c7210039
Add test suite beyond the existing demo 2020-02-22 19:31:49 -08:00
David Tolnay
54a53df768
Update vendored dependencies
Nothing important, but just working out this workflow.
2020-02-22 19:30:23 -08:00
David Tolnay
c6244698ad
Add a bazel rust toolchain for macOS 2020-02-22 18:51:30 -08:00
David Tolnay
67a658fddf
Merge pull request #36 from dtolnay/bazel
Add bazel targets
2020-02-22 16:10:43 -08:00
David Tolnay
c19936ce74
Add bazel targets 2020-02-22 16:01:35 -08:00
David Tolnay
b5bc0b4c9a
Ensure third-party lockfile is adequate for vendor 2020-02-22 15:36:13 -08:00
David Tolnay
e10910f3c7
Reduce to just one mac builder 2020-02-19 00:28:54 -08:00
David Tolnay
461712be9f
Add CI build on beta toolchain 2020-02-19 00:22:26 -08:00
David Tolnay
c9f2798772 Set buckversion=last
Buck in some environments requires this file for multiplexing across
different versions.
2020-02-18 15:31:25 -08:00
David Tolnay
ab9fa6d08c
Merge pull request #34 from dtolnay/buck
Add buck targets
2020-02-18 01:44:45 -08:00
David Tolnay
5bde59dd2d
Add buck targets 2020-02-18 01:29:40 -08:00
David Tolnay
bd3a6b27fb
Update ui tests to nightly-2020-02-08 2020-02-07 16:58:20 -08:00
David Tolnay
f184feb747 Space out the Travis config 2020-02-03 10:37:36 -08:00
David Tolnay
e45bd7c842
Merge pull request #31 from sayrer/travis_macos
Add macos and cargo test
2020-02-03 10:35:41 -08:00
Robert Sayre
f4b2421805 Add macos and cargo test 2020-02-03 10:10:13 -08:00
David Tolnay
c43627aee6
Always write cxxbridge.h into a predictable place from build script 2020-01-28 00:50:25 -08:00
David Tolnay
0c88e03a4a
Remove any existing link before writing symlink 2020-01-28 00:43:51 -08:00
David Tolnay
fa66e2afa6
Customize usage message of cmd 2020-01-27 23:24:40 -08:00
David Tolnay
4aea275788
Use clap's required_unless to enforce input file path 2020-01-27 22:55:55 -08:00
David Tolnay
7eb9c6b2a0
Touch up cxxbridge.h emit PR 2020-01-27 22:35:59 -08:00
RS
0a2d117fba Emit cxxbridge (#27)
* Working cxxbridge output.

* Add a way to emit cxxbridge.h
2020-01-27 21:47:37 -08:00
David Tolnay
015c5e85a5
Remove strip_prefix failure mode from relative paths 2020-01-26 16:31:48 -08:00
David Tolnay
366ef8b486
Print error cause chain on failures in build.rs 2020-01-26 14:15:59 -08:00
David Tolnay
152119246e
Merge pull request #23 from dtolnay/retref
Resolve Wreturn-type-c-linkage warnings
2020-01-25 16:32:33 -08:00
David Tolnay
4a44122b0f
Resolve Wreturn-type-c-linkage warnings 2020-01-25 16:26:54 -08:00
David Tolnay
05e9cc4d9b
Merge pull request #21 from dtolnay/link
Use platform's default C++ standard library
2020-01-24 16:07:20 -08:00
David Tolnay
af60e239b0
Use platform's default C++ standard library 2020-01-24 15:23:20 -08:00
David Tolnay
61b6771334
Release 0.1.2 2020-01-20 18:53:20 -08:00