Commit Graph

  • 9601285692 deps: Update which crate to 4.2.2 Darren Kulp 2022-06-02 06:18:45 -04:00
  • f25b957f7c upgrade clang-sys from 1.2.0 to 1.3.3 Nick Desaulniers 2022-05-31 09:38:48 -07:00
  • 816a2e00b4 Fix "dereferencing a null pointer" in C layout tests Gavin Li 2022-05-12 13:38:17 -07:00
  • e35e392955 Fix NoneType error alexdevteam 2022-04-24 14:23:11 +02:00
  • abca2c80bc provide information how to link to shared objects jakobgerhardt 2022-04-26 23:40:12 +02:00
  • 71354681c4 Update GitHub Actions actions/checkout@v2 to v3 David Tolnay 2022-04-29 19:46:10 -07:00
  • 385a7183c8 Derive from any other trait only when deriving from Copy Michal Rostecki 2022-05-04 14:11:30 +02:00
  • 8caf52f2a9 Fix panic!() argument (quote it) Henryk Paluch 2022-04-19 17:51:14 +02:00
  • b05ab16208 Use common type alias for anonymous enums in consts mode Alan Wu 2022-04-13 18:55:49 -04:00
  • 0955c5ded7 codegen: Fix minor clippy warning. Emilio Cobos Álvarez 2022-03-15 04:01:13 +01:00
  • 49547d5b93 add attributes to dynamic functions Emil Gardström 2022-02-25 20:13:47 +01:00
  • 3aee354ec4 disable test_clang_env_args on windows Emil Gardström 2022-02-25 21:47:29 +01:00
  • 68589594eb disable some tests on windows Emil Gardström 2022-02-25 21:45:58 +01:00
  • d3c447982f disable layout tests for derive-custom and convert-cpp-comment-to-rust test Emil Gardström 2022-02-25 21:39:34 +01:00
  • 3511c25837 escape \ in paths for tests modules Emil Gardström 2022-02-25 21:38:31 +01:00
  • b2ffb56026 docs: Drop references to Clang 4 Darren Kulp 2022-02-19 20:18:39 -05:00
  • 7ada9e1891 tests: Remove testing_only_libclang_4 and expectations Darren Kulp 2020-06-23 15:51:39 -07:00
  • 731ccdf216 ir: Make TargetInfo::new infallible Darren Kulp 2020-06-21 17:56:34 -07:00
  • 0b9703891a clang: Stop accommodating libclang 4.0 Darren Kulp 2020-06-19 20:12:06 -07:00
  • 4a4a376d08 tests: Stop testing libclang 4.0 Darren Kulp 2020-06-19 20:12:05 -07:00
  • 9735c580b6 tests: Enable a test with a const template param Darren Kulp 2022-02-19 20:24:27 -05:00
  • 58dc6a3ba9 codegen: Simplify abi support condition. Emilio Cobos Álvarez 2022-03-15 03:47:53 +01:00
  • c808bb0bf0 Added support for vectorcall ABI David Cole 2022-03-13 12:30:06 +13:00
  • 454d7369e9 Fix macOS test expectations Sebastian Imlay 2022-03-07 16:14:52 -05:00
  • da07cf0107 BINDGEN_EXTRA_CLANG_ARGS for dump_preprocessed_input. Nicklas Boman 2021-08-04 23:32:20 +02:00
  • 2e75397fca codegen: Use raw pointers rather than references in vtable functions. Emilio Cobos Álvarez 2022-02-18 19:47:12 +01:00
  • 2f3169d58c Put vtable generation behind a flag for now. Emilio Cobos Álvarez 2022-02-18 19:45:20 +01:00
  • 52e9185ec3 Add --allowlist-file option David Drysdale 2021-11-29 13:03:26 +00:00
  • f1250e0d9e docs: Update CONTRIBUTING.md for clang versions Darren Kulp 2022-02-01 23:19:43 -08:00
  • e608fdf14b book: Update Clang references from 3.9 -> 4.0 Darren Kulp 2022-02-01 23:02:12 -08:00
  • d326a62e80 tests: Remove clang-3.9 expectations Darren Kulp 2020-06-23 15:50:42 -07:00
  • c0588cbbd1 parser: Simplify handle_function_macro for clang 4.0+ Darren Kulp 2020-06-21 17:40:04 -07:00
  • 6172559913 parser: Simplify parse_macro for clang 4.0+ Darren Kulp 2020-06-21 17:35:09 -07:00
  • 38c9923028 clang: Stop accommodating libclang 3.9 Darren Kulp 2020-06-19 20:12:04 -07:00
  • 53a86034c8 ci: Stop testing libclang 3.9 Darren Kulp 2020-06-19 20:12:03 -07:00
  • 15bb6abfd4 Allow fully-qualified derives Jake Merdich 2022-02-03 11:02:30 -05:00
  • 5e03e798f5 Fix an erroneous +x bit on a source code file. Adrian Taylor 2022-02-15 16:49:59 -08:00
  • 001b4ba613 Bump MSRV to 1.54 Mateusz Mikuła 2022-01-15 16:18:53 +01:00
  • bf2f9208a1 Upgrade Clap to version 3 Mateusz Mikuła 2022-01-04 23:35:13 +01:00
  • 947ccc4473 Mark all vtable functions as unsafe extern "C" Justin Moore 2021-12-30 19:41:57 -06:00
  • be0562d0e7 On second thought, don't generate virtual destructors Dr. Chat 2021-12-30 11:28:06 -06:00
  • 72b0b41dcd Mark all vtable functions as pub Dr. Chat 2021-12-30 01:11:12 -06:00
  • 27a6f95963 Account for virtual destructors Dr. Chat 2021-12-30 00:29:15 -06:00
  • 5f31c4d1c1 Pass the vtable's base class as the first parameter Dr. Chat 2021-12-29 22:47:33 -06:00
  • 39d1fa0537 Extremely basic Vtable generation Dr. Chat 2021-12-24 14:12:13 -06:00
  • edb6ba4dac Change into PathBuf MikuroXina 2021-12-09 09:50:21 +09:00
  • 09f09785fa Derive some traits MikuroXina 2021-12-08 13:51:57 +09:00
  • e18cdaa6b9 More detailed error MikuroXina 2021-12-08 13:49:54 +09:00
  • 009a7ca6e3 Remove deprecation and Replace MikuroXina 2021-12-08 09:10:05 +09:00
  • 922a7dda3f Add non_exhaustive MikuroXina 2021-12-05 09:51:30 +09:00
  • 45bf84fc61 Remove 'error: ' part MikuroXina 2021-12-04 17:04:46 +09:00
  • 9f3ebacb41 Merge into new one MikuroXina 2021-12-04 16:58:26 +09:00
  • 7b4142f8d5 Replace generate with gen in test MikuroXina 2021-12-04 16:56:05 +09:00
  • f327675428 Impl Error trait for BindgenError MikuroXina 2021-12-04 16:53:35 +09:00
  • d0f67044c2 Add BindgenError MikuroXina 2021-12-04 16:46:39 +09:00
  • 6cd8ae1b5c codegen: Don't automatically derive Debug and Copy for non-rust enums. Emilio Cobos Álvarez 2021-12-21 13:04:59 +01:00
  • cc5f7dc81d Handle difference between clang and rust targets on RISC-V. Triss Healy 2021-12-12 15:09:30 +11:00
  • 6e657ee06f Add args MikuroXina 2021-12-04 17:34:47 +09:00
  • f4b7f18af6 Fix warnings on tests MikuroXina 2021-12-04 17:25:06 +09:00
  • 0db182bcd0 Add note about RVO in cpp.md Aapo Alasuutari 2021-12-05 21:53:00 +02:00
  • 01e5881a8a Remove fields never read MikuroXina 2021-12-07 07:11:48 +09:00
  • d1ca7e93e7 Bump version. Emilio Cobos Álvarez 2021-11-26 02:50:32 +01:00
  • c1c35bec30 Add --blocklist-file option (#2097) David Drysdale 2021-11-26 01:42:47 +00:00
  • 484e555b1e Drop 'static for pub const strings for rustc>1.17 Alberto Planas 2021-09-17 11:34:11 +02:00
  • acac110bfd Typo fix: "in side" -> "inside" follower 2021-11-08 09:07:47 +13:00
  • 80f64637f5 allow custom derives on enums Eric Seppanen 2021-11-07 13:41:19 -08:00
  • 7a917060e7 context: Escape the try keyword properly Fionera 2021-10-30 01:37:26 +02:00
  • 387ca3d4b0 Avoid case of a self-referential type alias. Adrian Taylor 2021-10-03 09:35:10 -07:00
  • 0ba21f9ab3 Don't generate 2^64 byte padding fields on unions Theodore Dubois 2021-10-13 15:00:47 -07:00
  • 6029ca5713 Avoid transmute MikuroXina 2021-10-27 17:33:03 +09:00
  • 0e185de767 Fix separator and treating expression MikuroXina 2021-10-26 18:34:51 +09:00
  • c0844c5e02 Fix repetetion MikuroXina 2021-10-26 18:19:37 +09:00
  • 76fd442659 Fix log args Mikuroさいな 2021-10-26 12:58:54 +09:00
  • 9150d6aadb Remove trailing semis Mikuroさいな 2021-10-26 10:04:15 +09:00
  • 3428dedc1d Shorten patterns MikuroXina 2021-10-25 22:55:40 +09:00
  • a97b64a536 Bring back comment MikuroXina 2021-10-25 22:50:27 +09:00
  • 069b015a37 Extract as is_reached_limit MikuroXina 2021-10-25 22:46:02 +09:00
  • 974e44d80e Add clippy in rustfmt job MikuroXina 2021-10-25 22:21:12 +09:00
  • f1aa3654cf Fix warnings MikuroXina 2021-10-25 22:06:54 +09:00
  • 3f63fe0271 Bump cexpr to 0.6 Anthony Ramine 2021-10-13 11:30:08 +02:00
  • fbda5ed584 Detect and avoid cycles when resolving items. Patrick Walton 2021-07-30 17:25:08 -07:00
  • f84b2e5077 Add tests Christian Vetter 2021-08-03 09:04:40 +02:00
  • d21473a121 Use annotations on enumerations: This enables users to add additional derives, or prevent deriving traits Christian Vetter 2021-08-03 09:03:46 +02:00
  • 8060aee509 Also implement must-use-type for enums. Karel Peeters 2021-07-23 19:38:02 +02:00
  • 55470edf81 Add must-use-type to the book. Karel Peeters 2021-07-23 18:46:31 +02:00
  • 8dd8e6a80d Also implement div-style must_use_type annotation. Karel Peeters 2021-07-23 18:40:23 +02:00
  • 93af853ab3 Implement must_use_type commandline flag and builder option. Karel Peeters 2021-07-23 17:43:44 +02:00
  • c3e8d65519 Don't assume that an inner class declaration always immediately yields a complete type. Patrick Walton 2021-07-30 19:41:10 -07:00
  • 4e0bd829c6 Canonicalize types before looking for their definitions. Patrick Walton 2021-07-28 21:14:12 -07:00
  • 550451b6fc Run a full cargo update for good measure Bastien Orivel 2021-07-31 05:44:03 +02:00
  • 2db55bf863 Update which to 4 Bastien Orivel 2021-07-31 05:42:22 +02:00
  • 5f480e91a2 Update env_logger to 0.9 Bastien Orivel 2021-07-31 05:36:56 +02:00
  • 849bbd97d0 docs: Fix rustfmt install steps. Emilio Cobos Álvarez 2021-07-26 00:27:07 +02:00
  • ff2a9cb1e4 v0.59.1 Emilio Cobos Álvarez 2021-07-26 00:24:37 +02:00
  • a11820e841 codegen: Don't check large_arrays to generate bitfield ctors because they use the Default trait. Emilio Cobos Álvarez 2021-07-26 00:22:05 +02:00
  • 824977ef64 v0.59.0 Emilio Cobos Álvarez 2021-07-20 12:11:31 +02:00
  • 2b9dc25946 Bump cexpr to 0.5 Anthony Ramine 2021-07-13 14:19:31 +02:00
  • 2a37787e58 Let Rust derive everything but Default for large arrays in 1.47 and later Ian P. Cooke 2021-07-07 06:37:04 -05:00
  • 41163f9d25 add test for add_derives Eric Seppanen 2021-06-06 15:10:34 -07:00
  • b82bd25646 add custom derives callback Eric Seppanen 2021-06-02 18:17:15 -07:00