├── .bazelignore ├── .bazelrc ├── .bcr ├── README.md ├── config.yml ├── metadata.template.json ├── presubmit.yml └── source.template.json ├── .buckconfig ├── .buckroot ├── .clang-format ├── .clang-tidy ├── .devcontainer ├── Dockerfile ├── README.md ├── build.Dockerfile └── devcontainer.json ├── .gitattributes ├── .github ├── FUNDING.yml └── workflows │ ├── buck2.yml │ ├── ci.yml │ ├── install.yml │ ├── release.yml │ └── site.yml ├── .gitignore ├── .vscode ├── README.md ├── launch.json ├── settings.json └── tasks.json ├── .watchmanconfig ├── BUCK ├── BUILD.bazel ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── MODULE.bazel ├── MODULE.bazel.lock ├── README.md ├── book ├── .gitignore ├── README.md ├── book.toml ├── build.js ├── build.sh ├── css │ └── cxx.css ├── diagram │ ├── .gitignore │ ├── Makefile │ └── overview.tex ├── eslint.config.mjs ├── package-lock.json ├── package.json ├── src │ ├── 404.md │ ├── SUMMARY.md │ ├── async.md │ ├── attributes.md │ ├── binding │ │ ├── box.md │ │ ├── cxxstring.md │ │ ├── cxxvector.md │ │ ├── fn.md │ │ ├── rawptr.md │ │ ├── result.md │ │ ├── sharedptr.md │ │ ├── slice.md │ │ ├── str.md │ │ ├── string.md │ │ ├── uniqueptr.md │ │ └── vec.md │ ├── bindings.md │ ├── build │ │ ├── bazel.md │ │ ├── cargo.md │ │ ├── cmake.md │ │ └── other.md │ ├── building.md │ ├── concepts.md │ ├── context.md │ ├── cxx.png │ ├── extern-c++.md │ ├── extern-rust.md │ ├── index.md │ ├── overview.svg │ ├── reference.md │ ├── shared.md │ └── tutorial.md └── theme │ └── head.hbs ├── compile_flags.txt ├── demo ├── BUCK ├── BUILD.bazel ├── Cargo.toml ├── build.rs ├── include │ └── blobstore.h └── src │ ├── blobstore.cc │ └── main.rs ├── flags ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT └── src │ ├── impl.rs │ └── lib.rs ├── gen ├── README.md ├── build │ ├── Cargo.toml │ ├── LICENSE-APACHE │ ├── LICENSE-MIT │ ├── build.rs │ └── src │ │ ├── cargo.rs │ │ ├── cfg.rs │ │ ├── deps.rs │ │ ├── error.rs │ │ ├── gen │ │ ├── intern.rs │ │ ├── lib.rs │ │ ├── out.rs │ │ ├── paths.rs │ │ ├── syntax │ │ ├── target.rs │ │ └── vec.rs ├── cmd │ ├── Cargo.toml │ ├── LICENSE-APACHE │ ├── LICENSE-MIT │ ├── build.rs │ └── src │ │ ├── app.rs │ │ ├── cfg.rs │ │ ├── gen │ │ ├── main.rs │ │ ├── output.rs │ │ ├── syntax │ │ └── test.rs ├── lib │ ├── Cargo.toml │ ├── LICENSE-APACHE │ ├── LICENSE-MIT │ ├── build.rs │ ├── src │ │ ├── error.rs │ │ ├── gen │ │ ├── lib.rs │ │ └── syntax │ └── tests │ │ └── test.rs └── src │ ├── block.rs │ ├── builtin.rs │ ├── builtin │ ├── alignmax.h │ ├── deleter_if.h │ ├── destroy.h │ ├── friend_impl.h │ ├── manually_drop.h │ ├── maybe_uninit.h │ ├── maybe_uninit_detail.h │ ├── ptr_len.h │ ├── relocatable_or_array.h │ ├── repr_fat.h │ ├── rust_error.h │ ├── rust_slice_uninit.h │ ├── rust_str_uninit.h │ ├── shared_ptr.h │ ├── trycatch.h │ ├── trycatch_detail.h │ └── vector.h │ ├── cfg.rs │ ├── check.rs │ ├── error.rs │ ├── file.rs │ ├── fs.rs │ ├── guard.rs │ ├── ifndef.rs │ ├── include │ ├── include.rs │ ├── mod.rs │ ├── names.rs │ ├── namespace.rs │ ├── nested.rs │ ├── out.rs │ ├── pragma.rs │ └── write.rs ├── include └── cxx.h ├── macro ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── build.rs └── src │ ├── attrs.rs │ ├── cfg.rs │ ├── derive.rs │ ├── expand.rs │ ├── generics.rs │ ├── lib.rs │ ├── syntax │ ├── tests.rs │ ├── tokens.rs │ └── type_id.rs ├── reindeer.toml ├── rust-toolchain.toml ├── src ├── cxx.cc ├── cxx_string.rs ├── cxx_vector.rs ├── exception.rs ├── extern_type.rs ├── fmt.rs ├── function.rs ├── hash.rs ├── lib.rs ├── lossy.rs ├── macros │ ├── assert.rs │ └── mod.rs ├── memory.rs ├── opaque.rs ├── result.rs ├── rust_slice.rs ├── rust_str.rs ├── rust_string.rs ├── rust_type.rs ├── rust_vec.rs ├── shared_ptr.rs ├── symbols │ ├── exception.rs │ ├── mod.rs │ ├── rust_slice.rs │ ├── rust_str.rs │ ├── rust_string.rs │ └── rust_vec.rs ├── type_id.rs ├── unique_ptr.rs ├── unwind.rs ├── vector.rs └── weak_ptr.rs ├── syntax ├── atom.rs ├── attrs.rs ├── cfg.rs ├── check.rs ├── derive.rs ├── discriminant.rs ├── doc.rs ├── error.rs ├── file.rs ├── ident.rs ├── impls.rs ├── improper.rs ├── instantiate.rs ├── mangle.rs ├── map.rs ├── message.rs ├── mod.rs ├── names.rs ├── namespace.rs ├── parse.rs ├── pod.rs ├── primitive.rs ├── qualified.rs ├── query.rs ├── report.rs ├── repr.rs ├── resolve.rs ├── set.rs ├── signature.rs ├── symbol.rs ├── tokens.rs ├── toposort.rs ├── trivial.rs ├── types.rs ├── unpin.rs └── visit.rs ├── tests ├── BUCK ├── BUILD.bazel ├── README.md ├── compiletest.rs ├── cpp_compile │ ├── mod.rs │ └── smoke_test.rs ├── cpp_ui_tests.rs ├── cxx_gen.rs ├── cxx_string.rs ├── cxx_vector.rs ├── ffi │ ├── Cargo.toml │ ├── build.rs │ ├── cast.rs │ ├── lib.rs │ ├── module.rs │ ├── tests.cc │ └── tests.h ├── test.rs ├── ui │ ├── array_len_expr.rs │ ├── array_len_expr.stderr │ ├── array_len_suffix.rs │ ├── array_len_suffix.stderr │ ├── async_fn.rs │ ├── async_fn.stderr │ ├── bad_explicit_impl.rs │ ├── bad_explicit_impl.stderr │ ├── by_value_not_supported.rs │ ├── by_value_not_supported.stderr │ ├── const_fn.rs │ ├── const_fn.stderr │ ├── cxx_crate_name_qualified_cxx_string.rs │ ├── cxx_crate_name_qualified_cxx_string.stderr │ ├── data_enums.rs │ ├── data_enums.stderr │ ├── deny_elided_lifetimes.rs │ ├── deny_elided_lifetimes.stderr │ ├── deny_missing_docs.rs │ ├── deny_missing_docs.stderr │ ├── derive_bit_struct.rs │ ├── derive_bit_struct.stderr │ ├── derive_default.rs │ ├── derive_default.stderr │ ├── derive_duplicate.rs │ ├── derive_duplicate.stderr │ ├── derive_noncopy.rs │ ├── derive_noncopy.stderr │ ├── drop_shared.rs │ ├── drop_shared.stderr │ ├── duplicate_method.rs │ ├── duplicate_method.stderr │ ├── empty_enum.rs │ ├── empty_enum.stderr │ ├── empty_struct.rs │ ├── empty_struct.stderr │ ├── enum_assoc.rs │ ├── enum_assoc.stderr │ ├── enum_inconsistent.rs │ ├── enum_inconsistent.stderr │ ├── enum_match_without_wildcard.rs │ ├── enum_match_without_wildcard.stderr │ ├── enum_out_of_bounds.rs │ ├── enum_out_of_bounds.stderr │ ├── enum_overflows.rs │ ├── enum_overflows.stderr │ ├── enum_receiver.rs │ ├── enum_receiver.stderr │ ├── enum_unsatisfiable.rs │ ├── enum_unsatisfiable.stderr │ ├── expected_named.rs │ ├── expected_named.stderr │ ├── extern_fn_abi.rs │ ├── extern_fn_abi.stderr │ ├── extern_shared_struct.rs │ ├── extern_shared_struct.stderr │ ├── extern_type_bound.rs │ ├── extern_type_bound.stderr │ ├── extern_type_generic.rs │ ├── extern_type_generic.stderr │ ├── extern_type_lifetime_bound.rs │ ├── extern_type_lifetime_bound.stderr │ ├── fallible_fnptr.rs │ ├── fallible_fnptr.stderr │ ├── function_with_body.rs │ ├── function_with_body.stderr │ ├── generic_enum.rs │ ├── generic_enum.stderr │ ├── impl_trait_for_type.rs │ ├── impl_trait_for_type.stderr │ ├── include.rs │ ├── include.stderr │ ├── lifetime_extern_cxx.rs │ ├── lifetime_extern_cxx.stderr │ ├── lifetime_extern_rust.rs │ ├── lifetime_extern_rust.stderr │ ├── missing_unsafe.rs │ ├── missing_unsafe.stderr │ ├── multiple_parse_error.rs │ ├── multiple_parse_error.stderr │ ├── mut_return.rs │ ├── mut_return.stderr │ ├── non_integer_discriminant_enum.rs │ ├── non_integer_discriminant_enum.stderr │ ├── nonempty_impl_block.rs │ ├── nonempty_impl_block.stderr │ ├── nonlocal_rust_type.rs │ ├── nonlocal_rust_type.stderr │ ├── opaque_autotraits.rs │ ├── opaque_autotraits.stderr │ ├── opaque_not_sized.rs │ ├── opaque_not_sized.stderr │ ├── pin_mut_alias.rs │ ├── pin_mut_alias.stderr │ ├── pin_mut_opaque.rs │ ├── pin_mut_opaque.stderr │ ├── ptr_in_fnptr.rs │ ├── ptr_in_fnptr.stderr │ ├── ptr_missing_unsafe.rs │ ├── ptr_missing_unsafe.stderr │ ├── ptr_no_const_mut.rs │ ├── ptr_no_const_mut.stderr │ ├── ptr_unsupported.rs │ ├── ptr_unsupported.stderr │ ├── raw_ident_namespace.rs │ ├── raw_ident_namespace.stderr │ ├── reference_to_reference.rs │ ├── reference_to_reference.stderr │ ├── repr_align_suffixed.rs │ ├── repr_align_suffixed.stderr │ ├── repr_unsupported.rs │ ├── repr_unsupported.stderr │ ├── reserved_lifetime.rs │ ├── reserved_lifetime.stderr │ ├── reserved_name.rs │ ├── reserved_name.stderr │ ├── result_no_display.rs │ ├── result_no_display.stderr │ ├── root_namespace.rs │ ├── root_namespace.stderr │ ├── rust_pinned.rs │ ├── rust_pinned.stderr │ ├── self_lifetimes.rs │ ├── self_lifetimes.stderr │ ├── self_type_and_receiver.rs │ ├── self_type_and_receiver.stderr │ ├── slice_of_pinned.rs │ ├── slice_of_pinned.stderr │ ├── slice_of_type_alias.rs │ ├── slice_of_type_alias.stderr │ ├── slice_unsupported.rs │ ├── slice_unsupported.stderr │ ├── struct_align.rs │ ├── struct_align.stderr │ ├── struct_cycle.rs │ ├── struct_cycle.stderr │ ├── type_alias_rust.rs │ ├── type_alias_rust.stderr │ ├── undeclared_lifetime.rs │ ├── undeclared_lifetime.stderr │ ├── unique_ptr_as_mut.rs │ ├── unique_ptr_as_mut.stderr │ ├── unique_ptr_to_opaque.rs │ ├── unique_ptr_to_opaque.stderr │ ├── unique_ptr_twice.rs │ ├── unique_ptr_twice.stderr │ ├── unnamed_receiver.rs │ ├── unnamed_receiver.stderr │ ├── unpin_impl.rs │ ├── unpin_impl.stderr │ ├── unrecognized_receiver.rs │ ├── unrecognized_receiver.stderr │ ├── unsupported_elided.rs │ ├── unsupported_elided.stderr │ ├── vec_opaque.rs │ ├── vec_opaque.stderr │ ├── vector_autotraits.rs │ ├── vector_autotraits.stderr │ ├── wrong_type_id.rs │ └── wrong_type_id.stderr └── unique_ptr.rs ├── third-party ├── .cargo │ └── .gitignore ├── .gitignore ├── BUCK ├── BUILD.bazel ├── Cargo.lock ├── Cargo.toml ├── bazel │ ├── BUILD.anstyle-1.0.13.bazel │ ├── BUILD.bazel │ ├── BUILD.cc-1.2.46.bazel │ ├── BUILD.clap-4.5.53.bazel │ ├── BUILD.clap_builder-4.5.53.bazel │ ├── BUILD.clap_lex-0.7.6.bazel │ ├── BUILD.codespan-reporting-0.13.1.bazel │ ├── BUILD.equivalent-1.0.2.bazel │ ├── BUILD.find-msvc-tools-0.1.5.bazel │ ├── BUILD.foldhash-0.2.0.bazel │ ├── BUILD.hashbrown-0.16.1.bazel │ ├── BUILD.indexmap-2.12.1.bazel │ ├── BUILD.proc-macro2-1.0.103.bazel │ ├── BUILD.quote-1.0.42.bazel │ ├── BUILD.rustversion-1.0.22.bazel │ ├── BUILD.scratch-1.0.9.bazel │ ├── BUILD.serde-1.0.228.bazel │ ├── BUILD.serde_core-1.0.228.bazel │ ├── BUILD.serde_derive-1.0.228.bazel │ ├── BUILD.shlex-1.3.0.bazel │ ├── BUILD.syn-2.0.110.bazel │ ├── BUILD.termcolor-1.4.1.bazel │ ├── BUILD.unicode-ident-1.0.22.bazel │ ├── BUILD.unicode-width-0.2.2.bazel │ ├── BUILD.winapi-util-0.1.11.bazel │ ├── BUILD.windows-link-0.2.1.bazel │ ├── BUILD.windows-sys-0.61.2.bazel │ ├── alias_rules.bzl │ ├── crates.bzl │ └── defs.bzl ├── fixups │ ├── proc-macro2 │ │ └── fixups.toml │ ├── quote │ │ └── fixups.toml │ ├── rustversion │ │ └── fixups.toml │ ├── scratch │ │ └── fixups.toml │ ├── serde │ │ └── fixups.toml │ ├── serde_core │ │ └── fixups.toml │ ├── serde_derive │ │ └── fixups.toml │ ├── winapi-util │ │ └── fixups.toml │ └── windows-sys │ │ └── fixups.toml └── src │ └── lib.rs └── tools ├── bazel ├── BUILD.bazel ├── extension.bzl └── rust_cxx_bridge.bzl ├── buck ├── rust_cxx_bridge.bzl └── toolchains │ └── BUCK └── cargo └── build.rs /.bazelignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.bazelignore -------------------------------------------------------------------------------- /.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.bazelrc -------------------------------------------------------------------------------- /.bcr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.bcr/README.md -------------------------------------------------------------------------------- /.bcr/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.bcr/config.yml -------------------------------------------------------------------------------- /.bcr/metadata.template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.bcr/metadata.template.json -------------------------------------------------------------------------------- /.bcr/presubmit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.bcr/presubmit.yml -------------------------------------------------------------------------------- /.bcr/source.template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.bcr/source.template.json -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.buckconfig -------------------------------------------------------------------------------- /.buckroot: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.clang-format -------------------------------------------------------------------------------- /.clang-tidy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.clang-tidy -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM dtolnay/devcontainer:latest 2 | -------------------------------------------------------------------------------- /.devcontainer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.devcontainer/README.md -------------------------------------------------------------------------------- /.devcontainer/build.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.devcontainer/build.Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: dtolnay 2 | -------------------------------------------------------------------------------- /.github/workflows/buck2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.github/workflows/buck2.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/install.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.github/workflows/install.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.github/workflows/site.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.vscode/README.md -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | { 2 | "ignore_dirs": ["buck-out"] 3 | } 4 | -------------------------------------------------------------------------------- /BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/BUCK -------------------------------------------------------------------------------- /BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/BUILD.bazel -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /MODULE.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/MODULE.bazel -------------------------------------------------------------------------------- /MODULE.bazel.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/MODULE.bazel.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/README.md -------------------------------------------------------------------------------- /book/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /mdbook 3 | /node_modules/ 4 | -------------------------------------------------------------------------------- /book/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/README.md -------------------------------------------------------------------------------- /book/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/book.toml -------------------------------------------------------------------------------- /book/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/build.js -------------------------------------------------------------------------------- /book/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/build.sh -------------------------------------------------------------------------------- /book/css/cxx.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/css/cxx.css -------------------------------------------------------------------------------- /book/diagram/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/diagram/.gitignore -------------------------------------------------------------------------------- /book/diagram/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/diagram/Makefile -------------------------------------------------------------------------------- /book/diagram/overview.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/diagram/overview.tex -------------------------------------------------------------------------------- /book/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/eslint.config.mjs -------------------------------------------------------------------------------- /book/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/package-lock.json -------------------------------------------------------------------------------- /book/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/package.json -------------------------------------------------------------------------------- /book/src/404.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/404.md -------------------------------------------------------------------------------- /book/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/SUMMARY.md -------------------------------------------------------------------------------- /book/src/async.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/async.md -------------------------------------------------------------------------------- /book/src/attributes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/attributes.md -------------------------------------------------------------------------------- /book/src/binding/box.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/box.md -------------------------------------------------------------------------------- /book/src/binding/cxxstring.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/cxxstring.md -------------------------------------------------------------------------------- /book/src/binding/cxxvector.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/cxxvector.md -------------------------------------------------------------------------------- /book/src/binding/fn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/fn.md -------------------------------------------------------------------------------- /book/src/binding/rawptr.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/rawptr.md -------------------------------------------------------------------------------- /book/src/binding/result.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/result.md -------------------------------------------------------------------------------- /book/src/binding/sharedptr.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/sharedptr.md -------------------------------------------------------------------------------- /book/src/binding/slice.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/slice.md -------------------------------------------------------------------------------- /book/src/binding/str.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/str.md -------------------------------------------------------------------------------- /book/src/binding/string.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/string.md -------------------------------------------------------------------------------- /book/src/binding/uniqueptr.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/uniqueptr.md -------------------------------------------------------------------------------- /book/src/binding/vec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/binding/vec.md -------------------------------------------------------------------------------- /book/src/bindings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/bindings.md -------------------------------------------------------------------------------- /book/src/build/bazel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/build/bazel.md -------------------------------------------------------------------------------- /book/src/build/cargo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/build/cargo.md -------------------------------------------------------------------------------- /book/src/build/cmake.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/build/cmake.md -------------------------------------------------------------------------------- /book/src/build/other.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/build/other.md -------------------------------------------------------------------------------- /book/src/building.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/building.md -------------------------------------------------------------------------------- /book/src/concepts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/concepts.md -------------------------------------------------------------------------------- /book/src/context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/context.md -------------------------------------------------------------------------------- /book/src/cxx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/cxx.png -------------------------------------------------------------------------------- /book/src/extern-c++.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/extern-c++.md -------------------------------------------------------------------------------- /book/src/extern-rust.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/extern-rust.md -------------------------------------------------------------------------------- /book/src/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/index.md -------------------------------------------------------------------------------- /book/src/overview.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/overview.svg -------------------------------------------------------------------------------- /book/src/reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/reference.md -------------------------------------------------------------------------------- /book/src/shared.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/shared.md -------------------------------------------------------------------------------- /book/src/tutorial.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/src/tutorial.md -------------------------------------------------------------------------------- /book/theme/head.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/book/theme/head.hbs -------------------------------------------------------------------------------- /compile_flags.txt: -------------------------------------------------------------------------------- 1 | -std=c++20 2 | -------------------------------------------------------------------------------- /demo/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/demo/BUCK -------------------------------------------------------------------------------- /demo/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/demo/BUILD.bazel -------------------------------------------------------------------------------- /demo/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/demo/Cargo.toml -------------------------------------------------------------------------------- /demo/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/demo/build.rs -------------------------------------------------------------------------------- /demo/include/blobstore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/demo/include/blobstore.h -------------------------------------------------------------------------------- /demo/src/blobstore.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/demo/src/blobstore.cc -------------------------------------------------------------------------------- /demo/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/demo/src/main.rs -------------------------------------------------------------------------------- /flags/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/flags/Cargo.toml -------------------------------------------------------------------------------- /flags/LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | ../LICENSE-APACHE -------------------------------------------------------------------------------- /flags/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | ../LICENSE-MIT -------------------------------------------------------------------------------- /flags/src/impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/flags/src/impl.rs -------------------------------------------------------------------------------- /flags/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/flags/src/lib.rs -------------------------------------------------------------------------------- /gen/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/README.md -------------------------------------------------------------------------------- /gen/build/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/Cargo.toml -------------------------------------------------------------------------------- /gen/build/LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | ../../LICENSE-APACHE -------------------------------------------------------------------------------- /gen/build/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | ../../LICENSE-MIT -------------------------------------------------------------------------------- /gen/build/build.rs: -------------------------------------------------------------------------------- 1 | include!("../../tools/cargo/build.rs"); 2 | -------------------------------------------------------------------------------- /gen/build/src/cargo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/cargo.rs -------------------------------------------------------------------------------- /gen/build/src/cfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/cfg.rs -------------------------------------------------------------------------------- /gen/build/src/deps.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/deps.rs -------------------------------------------------------------------------------- /gen/build/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/error.rs -------------------------------------------------------------------------------- /gen/build/src/gen: -------------------------------------------------------------------------------- 1 | ../../src -------------------------------------------------------------------------------- /gen/build/src/intern.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/intern.rs -------------------------------------------------------------------------------- /gen/build/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/lib.rs -------------------------------------------------------------------------------- /gen/build/src/out.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/out.rs -------------------------------------------------------------------------------- /gen/build/src/paths.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/paths.rs -------------------------------------------------------------------------------- /gen/build/src/syntax: -------------------------------------------------------------------------------- 1 | ../../../syntax -------------------------------------------------------------------------------- /gen/build/src/target.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/target.rs -------------------------------------------------------------------------------- /gen/build/src/vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/build/src/vec.rs -------------------------------------------------------------------------------- /gen/cmd/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/cmd/Cargo.toml -------------------------------------------------------------------------------- /gen/cmd/LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | ../../LICENSE-APACHE -------------------------------------------------------------------------------- /gen/cmd/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | ../../LICENSE-MIT -------------------------------------------------------------------------------- /gen/cmd/build.rs: -------------------------------------------------------------------------------- 1 | include!("../../tools/cargo/build.rs"); 2 | -------------------------------------------------------------------------------- /gen/cmd/src/app.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/cmd/src/app.rs -------------------------------------------------------------------------------- /gen/cmd/src/cfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/cmd/src/cfg.rs -------------------------------------------------------------------------------- /gen/cmd/src/gen: -------------------------------------------------------------------------------- 1 | ../../src -------------------------------------------------------------------------------- /gen/cmd/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/cmd/src/main.rs -------------------------------------------------------------------------------- /gen/cmd/src/output.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/cmd/src/output.rs -------------------------------------------------------------------------------- /gen/cmd/src/syntax: -------------------------------------------------------------------------------- 1 | ../../../syntax -------------------------------------------------------------------------------- /gen/cmd/src/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/cmd/src/test.rs -------------------------------------------------------------------------------- /gen/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/lib/Cargo.toml -------------------------------------------------------------------------------- /gen/lib/LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | ../../LICENSE-APACHE -------------------------------------------------------------------------------- /gen/lib/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | ../../LICENSE-MIT -------------------------------------------------------------------------------- /gen/lib/build.rs: -------------------------------------------------------------------------------- 1 | include!("../../tools/cargo/build.rs"); 2 | -------------------------------------------------------------------------------- /gen/lib/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/lib/src/error.rs -------------------------------------------------------------------------------- /gen/lib/src/gen: -------------------------------------------------------------------------------- 1 | ../../src -------------------------------------------------------------------------------- /gen/lib/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/lib/src/lib.rs -------------------------------------------------------------------------------- /gen/lib/src/syntax: -------------------------------------------------------------------------------- 1 | ../../../syntax -------------------------------------------------------------------------------- /gen/lib/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/lib/tests/test.rs -------------------------------------------------------------------------------- /gen/src/block.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/block.rs -------------------------------------------------------------------------------- /gen/src/builtin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin.rs -------------------------------------------------------------------------------- /gen/src/builtin/alignmax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/alignmax.h -------------------------------------------------------------------------------- /gen/src/builtin/deleter_if.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/deleter_if.h -------------------------------------------------------------------------------- /gen/src/builtin/destroy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/destroy.h -------------------------------------------------------------------------------- /gen/src/builtin/friend_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/friend_impl.h -------------------------------------------------------------------------------- /gen/src/builtin/manually_drop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/manually_drop.h -------------------------------------------------------------------------------- /gen/src/builtin/maybe_uninit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/maybe_uninit.h -------------------------------------------------------------------------------- /gen/src/builtin/maybe_uninit_detail.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/maybe_uninit_detail.h -------------------------------------------------------------------------------- /gen/src/builtin/ptr_len.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/ptr_len.h -------------------------------------------------------------------------------- /gen/src/builtin/relocatable_or_array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/relocatable_or_array.h -------------------------------------------------------------------------------- /gen/src/builtin/repr_fat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/repr_fat.h -------------------------------------------------------------------------------- /gen/src/builtin/rust_error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/rust_error.h -------------------------------------------------------------------------------- /gen/src/builtin/rust_slice_uninit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/rust_slice_uninit.h -------------------------------------------------------------------------------- /gen/src/builtin/rust_str_uninit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/rust_str_uninit.h -------------------------------------------------------------------------------- /gen/src/builtin/shared_ptr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/shared_ptr.h -------------------------------------------------------------------------------- /gen/src/builtin/trycatch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/trycatch.h -------------------------------------------------------------------------------- /gen/src/builtin/trycatch_detail.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/trycatch_detail.h -------------------------------------------------------------------------------- /gen/src/builtin/vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/builtin/vector.h -------------------------------------------------------------------------------- /gen/src/cfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/cfg.rs -------------------------------------------------------------------------------- /gen/src/check.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/check.rs -------------------------------------------------------------------------------- /gen/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/error.rs -------------------------------------------------------------------------------- /gen/src/file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/file.rs -------------------------------------------------------------------------------- /gen/src/fs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/fs.rs -------------------------------------------------------------------------------- /gen/src/guard.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/guard.rs -------------------------------------------------------------------------------- /gen/src/ifndef.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/ifndef.rs -------------------------------------------------------------------------------- /gen/src/include: -------------------------------------------------------------------------------- 1 | ../../include -------------------------------------------------------------------------------- /gen/src/include.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/include.rs -------------------------------------------------------------------------------- /gen/src/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/mod.rs -------------------------------------------------------------------------------- /gen/src/names.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/names.rs -------------------------------------------------------------------------------- /gen/src/namespace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/namespace.rs -------------------------------------------------------------------------------- /gen/src/nested.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/nested.rs -------------------------------------------------------------------------------- /gen/src/out.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/out.rs -------------------------------------------------------------------------------- /gen/src/pragma.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/pragma.rs -------------------------------------------------------------------------------- /gen/src/write.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/gen/src/write.rs -------------------------------------------------------------------------------- /include/cxx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/include/cxx.h -------------------------------------------------------------------------------- /macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/Cargo.toml -------------------------------------------------------------------------------- /macro/LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | ../LICENSE-APACHE -------------------------------------------------------------------------------- /macro/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | ../LICENSE-MIT -------------------------------------------------------------------------------- /macro/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/README.md -------------------------------------------------------------------------------- /macro/build.rs: -------------------------------------------------------------------------------- 1 | include!("../tools/cargo/build.rs"); 2 | -------------------------------------------------------------------------------- /macro/src/attrs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/attrs.rs -------------------------------------------------------------------------------- /macro/src/cfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/cfg.rs -------------------------------------------------------------------------------- /macro/src/derive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/derive.rs -------------------------------------------------------------------------------- /macro/src/expand.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/expand.rs -------------------------------------------------------------------------------- /macro/src/generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/generics.rs -------------------------------------------------------------------------------- /macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/lib.rs -------------------------------------------------------------------------------- /macro/src/syntax: -------------------------------------------------------------------------------- 1 | ../../syntax/ -------------------------------------------------------------------------------- /macro/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/tests.rs -------------------------------------------------------------------------------- /macro/src/tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/tokens.rs -------------------------------------------------------------------------------- /macro/src/type_id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/macro/src/type_id.rs -------------------------------------------------------------------------------- /reindeer.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/reindeer.toml -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | components = ["rust-src"] 3 | -------------------------------------------------------------------------------- /src/cxx.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/cxx.cc -------------------------------------------------------------------------------- /src/cxx_string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/cxx_string.rs -------------------------------------------------------------------------------- /src/cxx_vector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/cxx_vector.rs -------------------------------------------------------------------------------- /src/exception.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/exception.rs -------------------------------------------------------------------------------- /src/extern_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/extern_type.rs -------------------------------------------------------------------------------- /src/fmt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/fmt.rs -------------------------------------------------------------------------------- /src/function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/function.rs -------------------------------------------------------------------------------- /src/hash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/hash.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/lossy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/lossy.rs -------------------------------------------------------------------------------- /src/macros/assert.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/macros/assert.rs -------------------------------------------------------------------------------- /src/macros/mod.rs: -------------------------------------------------------------------------------- 1 | #[macro_use] 2 | mod assert; 3 | -------------------------------------------------------------------------------- /src/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/memory.rs -------------------------------------------------------------------------------- /src/opaque.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/opaque.rs -------------------------------------------------------------------------------- /src/result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/result.rs -------------------------------------------------------------------------------- /src/rust_slice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/rust_slice.rs -------------------------------------------------------------------------------- /src/rust_str.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/rust_str.rs -------------------------------------------------------------------------------- /src/rust_string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/rust_string.rs -------------------------------------------------------------------------------- /src/rust_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/rust_type.rs -------------------------------------------------------------------------------- /src/rust_vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/rust_vec.rs -------------------------------------------------------------------------------- /src/shared_ptr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/shared_ptr.rs -------------------------------------------------------------------------------- /src/symbols/exception.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/symbols/exception.rs -------------------------------------------------------------------------------- /src/symbols/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/symbols/mod.rs -------------------------------------------------------------------------------- /src/symbols/rust_slice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/symbols/rust_slice.rs -------------------------------------------------------------------------------- /src/symbols/rust_str.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/symbols/rust_str.rs -------------------------------------------------------------------------------- /src/symbols/rust_string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/symbols/rust_string.rs -------------------------------------------------------------------------------- /src/symbols/rust_vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/symbols/rust_vec.rs -------------------------------------------------------------------------------- /src/type_id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/type_id.rs -------------------------------------------------------------------------------- /src/unique_ptr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/unique_ptr.rs -------------------------------------------------------------------------------- /src/unwind.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/unwind.rs -------------------------------------------------------------------------------- /src/vector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/vector.rs -------------------------------------------------------------------------------- /src/weak_ptr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/src/weak_ptr.rs -------------------------------------------------------------------------------- /syntax/atom.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/atom.rs -------------------------------------------------------------------------------- /syntax/attrs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/attrs.rs -------------------------------------------------------------------------------- /syntax/cfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/cfg.rs -------------------------------------------------------------------------------- /syntax/check.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/check.rs -------------------------------------------------------------------------------- /syntax/derive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/derive.rs -------------------------------------------------------------------------------- /syntax/discriminant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/discriminant.rs -------------------------------------------------------------------------------- /syntax/doc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/doc.rs -------------------------------------------------------------------------------- /syntax/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/error.rs -------------------------------------------------------------------------------- /syntax/file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/file.rs -------------------------------------------------------------------------------- /syntax/ident.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/ident.rs -------------------------------------------------------------------------------- /syntax/impls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/impls.rs -------------------------------------------------------------------------------- /syntax/improper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/improper.rs -------------------------------------------------------------------------------- /syntax/instantiate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/instantiate.rs -------------------------------------------------------------------------------- /syntax/mangle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/mangle.rs -------------------------------------------------------------------------------- /syntax/map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/map.rs -------------------------------------------------------------------------------- /syntax/message.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/message.rs -------------------------------------------------------------------------------- /syntax/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/mod.rs -------------------------------------------------------------------------------- /syntax/names.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/names.rs -------------------------------------------------------------------------------- /syntax/namespace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/namespace.rs -------------------------------------------------------------------------------- /syntax/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/parse.rs -------------------------------------------------------------------------------- /syntax/pod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/pod.rs -------------------------------------------------------------------------------- /syntax/primitive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/primitive.rs -------------------------------------------------------------------------------- /syntax/qualified.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/qualified.rs -------------------------------------------------------------------------------- /syntax/query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/query.rs -------------------------------------------------------------------------------- /syntax/report.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/report.rs -------------------------------------------------------------------------------- /syntax/repr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/repr.rs -------------------------------------------------------------------------------- /syntax/resolve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/resolve.rs -------------------------------------------------------------------------------- /syntax/set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/set.rs -------------------------------------------------------------------------------- /syntax/signature.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/signature.rs -------------------------------------------------------------------------------- /syntax/symbol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/symbol.rs -------------------------------------------------------------------------------- /syntax/tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/tokens.rs -------------------------------------------------------------------------------- /syntax/toposort.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/toposort.rs -------------------------------------------------------------------------------- /syntax/trivial.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/trivial.rs -------------------------------------------------------------------------------- /syntax/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/types.rs -------------------------------------------------------------------------------- /syntax/unpin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/unpin.rs -------------------------------------------------------------------------------- /syntax/visit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/syntax/visit.rs -------------------------------------------------------------------------------- /tests/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/BUCK -------------------------------------------------------------------------------- /tests/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/BUILD.bazel -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/compiletest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/compiletest.rs -------------------------------------------------------------------------------- /tests/cpp_compile/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/cpp_compile/mod.rs -------------------------------------------------------------------------------- /tests/cpp_compile/smoke_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/cpp_compile/smoke_test.rs -------------------------------------------------------------------------------- /tests/cpp_ui_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/cpp_ui_tests.rs -------------------------------------------------------------------------------- /tests/cxx_gen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/cxx_gen.rs -------------------------------------------------------------------------------- /tests/cxx_string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/cxx_string.rs -------------------------------------------------------------------------------- /tests/cxx_vector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/cxx_vector.rs -------------------------------------------------------------------------------- /tests/ffi/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ffi/Cargo.toml -------------------------------------------------------------------------------- /tests/ffi/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ffi/build.rs -------------------------------------------------------------------------------- /tests/ffi/cast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ffi/cast.rs -------------------------------------------------------------------------------- /tests/ffi/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ffi/lib.rs -------------------------------------------------------------------------------- /tests/ffi/module.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ffi/module.rs -------------------------------------------------------------------------------- /tests/ffi/tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ffi/tests.cc -------------------------------------------------------------------------------- /tests/ffi/tests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ffi/tests.h -------------------------------------------------------------------------------- /tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/test.rs -------------------------------------------------------------------------------- /tests/ui/array_len_expr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/array_len_expr.rs -------------------------------------------------------------------------------- /tests/ui/array_len_expr.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/array_len_expr.stderr -------------------------------------------------------------------------------- /tests/ui/array_len_suffix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/array_len_suffix.rs -------------------------------------------------------------------------------- /tests/ui/array_len_suffix.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/array_len_suffix.stderr -------------------------------------------------------------------------------- /tests/ui/async_fn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/async_fn.rs -------------------------------------------------------------------------------- /tests/ui/async_fn.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/async_fn.stderr -------------------------------------------------------------------------------- /tests/ui/bad_explicit_impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/bad_explicit_impl.rs -------------------------------------------------------------------------------- /tests/ui/bad_explicit_impl.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/bad_explicit_impl.stderr -------------------------------------------------------------------------------- /tests/ui/by_value_not_supported.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/by_value_not_supported.rs -------------------------------------------------------------------------------- /tests/ui/by_value_not_supported.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/by_value_not_supported.stderr -------------------------------------------------------------------------------- /tests/ui/const_fn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/const_fn.rs -------------------------------------------------------------------------------- /tests/ui/const_fn.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/const_fn.stderr -------------------------------------------------------------------------------- /tests/ui/cxx_crate_name_qualified_cxx_string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/cxx_crate_name_qualified_cxx_string.rs -------------------------------------------------------------------------------- /tests/ui/cxx_crate_name_qualified_cxx_string.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/cxx_crate_name_qualified_cxx_string.stderr -------------------------------------------------------------------------------- /tests/ui/data_enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/data_enums.rs -------------------------------------------------------------------------------- /tests/ui/data_enums.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/data_enums.stderr -------------------------------------------------------------------------------- /tests/ui/deny_elided_lifetimes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/deny_elided_lifetimes.rs -------------------------------------------------------------------------------- /tests/ui/deny_elided_lifetimes.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/deny_elided_lifetimes.stderr -------------------------------------------------------------------------------- /tests/ui/deny_missing_docs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/deny_missing_docs.rs -------------------------------------------------------------------------------- /tests/ui/deny_missing_docs.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/deny_missing_docs.stderr -------------------------------------------------------------------------------- /tests/ui/derive_bit_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_bit_struct.rs -------------------------------------------------------------------------------- /tests/ui/derive_bit_struct.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_bit_struct.stderr -------------------------------------------------------------------------------- /tests/ui/derive_default.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_default.rs -------------------------------------------------------------------------------- /tests/ui/derive_default.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_default.stderr -------------------------------------------------------------------------------- /tests/ui/derive_duplicate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_duplicate.rs -------------------------------------------------------------------------------- /tests/ui/derive_duplicate.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_duplicate.stderr -------------------------------------------------------------------------------- /tests/ui/derive_noncopy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_noncopy.rs -------------------------------------------------------------------------------- /tests/ui/derive_noncopy.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/derive_noncopy.stderr -------------------------------------------------------------------------------- /tests/ui/drop_shared.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/drop_shared.rs -------------------------------------------------------------------------------- /tests/ui/drop_shared.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/drop_shared.stderr -------------------------------------------------------------------------------- /tests/ui/duplicate_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/duplicate_method.rs -------------------------------------------------------------------------------- /tests/ui/duplicate_method.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/duplicate_method.stderr -------------------------------------------------------------------------------- /tests/ui/empty_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/empty_enum.rs -------------------------------------------------------------------------------- /tests/ui/empty_enum.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/empty_enum.stderr -------------------------------------------------------------------------------- /tests/ui/empty_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/empty_struct.rs -------------------------------------------------------------------------------- /tests/ui/empty_struct.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/empty_struct.stderr -------------------------------------------------------------------------------- /tests/ui/enum_assoc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_assoc.rs -------------------------------------------------------------------------------- /tests/ui/enum_assoc.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_assoc.stderr -------------------------------------------------------------------------------- /tests/ui/enum_inconsistent.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_inconsistent.rs -------------------------------------------------------------------------------- /tests/ui/enum_inconsistent.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_inconsistent.stderr -------------------------------------------------------------------------------- /tests/ui/enum_match_without_wildcard.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_match_without_wildcard.rs -------------------------------------------------------------------------------- /tests/ui/enum_match_without_wildcard.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_match_without_wildcard.stderr -------------------------------------------------------------------------------- /tests/ui/enum_out_of_bounds.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_out_of_bounds.rs -------------------------------------------------------------------------------- /tests/ui/enum_out_of_bounds.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_out_of_bounds.stderr -------------------------------------------------------------------------------- /tests/ui/enum_overflows.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_overflows.rs -------------------------------------------------------------------------------- /tests/ui/enum_overflows.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_overflows.stderr -------------------------------------------------------------------------------- /tests/ui/enum_receiver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_receiver.rs -------------------------------------------------------------------------------- /tests/ui/enum_receiver.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_receiver.stderr -------------------------------------------------------------------------------- /tests/ui/enum_unsatisfiable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_unsatisfiable.rs -------------------------------------------------------------------------------- /tests/ui/enum_unsatisfiable.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/enum_unsatisfiable.stderr -------------------------------------------------------------------------------- /tests/ui/expected_named.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/expected_named.rs -------------------------------------------------------------------------------- /tests/ui/expected_named.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/expected_named.stderr -------------------------------------------------------------------------------- /tests/ui/extern_fn_abi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_fn_abi.rs -------------------------------------------------------------------------------- /tests/ui/extern_fn_abi.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_fn_abi.stderr -------------------------------------------------------------------------------- /tests/ui/extern_shared_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_shared_struct.rs -------------------------------------------------------------------------------- /tests/ui/extern_shared_struct.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_shared_struct.stderr -------------------------------------------------------------------------------- /tests/ui/extern_type_bound.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_type_bound.rs -------------------------------------------------------------------------------- /tests/ui/extern_type_bound.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_type_bound.stderr -------------------------------------------------------------------------------- /tests/ui/extern_type_generic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_type_generic.rs -------------------------------------------------------------------------------- /tests/ui/extern_type_generic.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_type_generic.stderr -------------------------------------------------------------------------------- /tests/ui/extern_type_lifetime_bound.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_type_lifetime_bound.rs -------------------------------------------------------------------------------- /tests/ui/extern_type_lifetime_bound.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/extern_type_lifetime_bound.stderr -------------------------------------------------------------------------------- /tests/ui/fallible_fnptr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/fallible_fnptr.rs -------------------------------------------------------------------------------- /tests/ui/fallible_fnptr.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/fallible_fnptr.stderr -------------------------------------------------------------------------------- /tests/ui/function_with_body.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/function_with_body.rs -------------------------------------------------------------------------------- /tests/ui/function_with_body.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/function_with_body.stderr -------------------------------------------------------------------------------- /tests/ui/generic_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/generic_enum.rs -------------------------------------------------------------------------------- /tests/ui/generic_enum.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/generic_enum.stderr -------------------------------------------------------------------------------- /tests/ui/impl_trait_for_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/impl_trait_for_type.rs -------------------------------------------------------------------------------- /tests/ui/impl_trait_for_type.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/impl_trait_for_type.stderr -------------------------------------------------------------------------------- /tests/ui/include.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/include.rs -------------------------------------------------------------------------------- /tests/ui/include.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/include.stderr -------------------------------------------------------------------------------- /tests/ui/lifetime_extern_cxx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/lifetime_extern_cxx.rs -------------------------------------------------------------------------------- /tests/ui/lifetime_extern_cxx.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/lifetime_extern_cxx.stderr -------------------------------------------------------------------------------- /tests/ui/lifetime_extern_rust.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/lifetime_extern_rust.rs -------------------------------------------------------------------------------- /tests/ui/lifetime_extern_rust.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/lifetime_extern_rust.stderr -------------------------------------------------------------------------------- /tests/ui/missing_unsafe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/missing_unsafe.rs -------------------------------------------------------------------------------- /tests/ui/missing_unsafe.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/missing_unsafe.stderr -------------------------------------------------------------------------------- /tests/ui/multiple_parse_error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/multiple_parse_error.rs -------------------------------------------------------------------------------- /tests/ui/multiple_parse_error.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/multiple_parse_error.stderr -------------------------------------------------------------------------------- /tests/ui/mut_return.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/mut_return.rs -------------------------------------------------------------------------------- /tests/ui/mut_return.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/mut_return.stderr -------------------------------------------------------------------------------- /tests/ui/non_integer_discriminant_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/non_integer_discriminant_enum.rs -------------------------------------------------------------------------------- /tests/ui/non_integer_discriminant_enum.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/non_integer_discriminant_enum.stderr -------------------------------------------------------------------------------- /tests/ui/nonempty_impl_block.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/nonempty_impl_block.rs -------------------------------------------------------------------------------- /tests/ui/nonempty_impl_block.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/nonempty_impl_block.stderr -------------------------------------------------------------------------------- /tests/ui/nonlocal_rust_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/nonlocal_rust_type.rs -------------------------------------------------------------------------------- /tests/ui/nonlocal_rust_type.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/nonlocal_rust_type.stderr -------------------------------------------------------------------------------- /tests/ui/opaque_autotraits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/opaque_autotraits.rs -------------------------------------------------------------------------------- /tests/ui/opaque_autotraits.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/opaque_autotraits.stderr -------------------------------------------------------------------------------- /tests/ui/opaque_not_sized.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/opaque_not_sized.rs -------------------------------------------------------------------------------- /tests/ui/opaque_not_sized.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/opaque_not_sized.stderr -------------------------------------------------------------------------------- /tests/ui/pin_mut_alias.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/pin_mut_alias.rs -------------------------------------------------------------------------------- /tests/ui/pin_mut_alias.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/pin_mut_alias.stderr -------------------------------------------------------------------------------- /tests/ui/pin_mut_opaque.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/pin_mut_opaque.rs -------------------------------------------------------------------------------- /tests/ui/pin_mut_opaque.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/pin_mut_opaque.stderr -------------------------------------------------------------------------------- /tests/ui/ptr_in_fnptr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_in_fnptr.rs -------------------------------------------------------------------------------- /tests/ui/ptr_in_fnptr.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_in_fnptr.stderr -------------------------------------------------------------------------------- /tests/ui/ptr_missing_unsafe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_missing_unsafe.rs -------------------------------------------------------------------------------- /tests/ui/ptr_missing_unsafe.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_missing_unsafe.stderr -------------------------------------------------------------------------------- /tests/ui/ptr_no_const_mut.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_no_const_mut.rs -------------------------------------------------------------------------------- /tests/ui/ptr_no_const_mut.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_no_const_mut.stderr -------------------------------------------------------------------------------- /tests/ui/ptr_unsupported.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_unsupported.rs -------------------------------------------------------------------------------- /tests/ui/ptr_unsupported.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/ptr_unsupported.stderr -------------------------------------------------------------------------------- /tests/ui/raw_ident_namespace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/raw_ident_namespace.rs -------------------------------------------------------------------------------- /tests/ui/raw_ident_namespace.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/raw_ident_namespace.stderr -------------------------------------------------------------------------------- /tests/ui/reference_to_reference.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/reference_to_reference.rs -------------------------------------------------------------------------------- /tests/ui/reference_to_reference.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/reference_to_reference.stderr -------------------------------------------------------------------------------- /tests/ui/repr_align_suffixed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/repr_align_suffixed.rs -------------------------------------------------------------------------------- /tests/ui/repr_align_suffixed.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/repr_align_suffixed.stderr -------------------------------------------------------------------------------- /tests/ui/repr_unsupported.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/repr_unsupported.rs -------------------------------------------------------------------------------- /tests/ui/repr_unsupported.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/repr_unsupported.stderr -------------------------------------------------------------------------------- /tests/ui/reserved_lifetime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/reserved_lifetime.rs -------------------------------------------------------------------------------- /tests/ui/reserved_lifetime.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/reserved_lifetime.stderr -------------------------------------------------------------------------------- /tests/ui/reserved_name.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/reserved_name.rs -------------------------------------------------------------------------------- /tests/ui/reserved_name.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/reserved_name.stderr -------------------------------------------------------------------------------- /tests/ui/result_no_display.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/result_no_display.rs -------------------------------------------------------------------------------- /tests/ui/result_no_display.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/result_no_display.stderr -------------------------------------------------------------------------------- /tests/ui/root_namespace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/root_namespace.rs -------------------------------------------------------------------------------- /tests/ui/root_namespace.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/root_namespace.stderr -------------------------------------------------------------------------------- /tests/ui/rust_pinned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/rust_pinned.rs -------------------------------------------------------------------------------- /tests/ui/rust_pinned.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/rust_pinned.stderr -------------------------------------------------------------------------------- /tests/ui/self_lifetimes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/self_lifetimes.rs -------------------------------------------------------------------------------- /tests/ui/self_lifetimes.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/self_lifetimes.stderr -------------------------------------------------------------------------------- /tests/ui/self_type_and_receiver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/self_type_and_receiver.rs -------------------------------------------------------------------------------- /tests/ui/self_type_and_receiver.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/self_type_and_receiver.stderr -------------------------------------------------------------------------------- /tests/ui/slice_of_pinned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/slice_of_pinned.rs -------------------------------------------------------------------------------- /tests/ui/slice_of_pinned.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/slice_of_pinned.stderr -------------------------------------------------------------------------------- /tests/ui/slice_of_type_alias.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/slice_of_type_alias.rs -------------------------------------------------------------------------------- /tests/ui/slice_of_type_alias.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/slice_of_type_alias.stderr -------------------------------------------------------------------------------- /tests/ui/slice_unsupported.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/slice_unsupported.rs -------------------------------------------------------------------------------- /tests/ui/slice_unsupported.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/slice_unsupported.stderr -------------------------------------------------------------------------------- /tests/ui/struct_align.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/struct_align.rs -------------------------------------------------------------------------------- /tests/ui/struct_align.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/struct_align.stderr -------------------------------------------------------------------------------- /tests/ui/struct_cycle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/struct_cycle.rs -------------------------------------------------------------------------------- /tests/ui/struct_cycle.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/struct_cycle.stderr -------------------------------------------------------------------------------- /tests/ui/type_alias_rust.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/type_alias_rust.rs -------------------------------------------------------------------------------- /tests/ui/type_alias_rust.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/type_alias_rust.stderr -------------------------------------------------------------------------------- /tests/ui/undeclared_lifetime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/undeclared_lifetime.rs -------------------------------------------------------------------------------- /tests/ui/undeclared_lifetime.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/undeclared_lifetime.stderr -------------------------------------------------------------------------------- /tests/ui/unique_ptr_as_mut.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unique_ptr_as_mut.rs -------------------------------------------------------------------------------- /tests/ui/unique_ptr_as_mut.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unique_ptr_as_mut.stderr -------------------------------------------------------------------------------- /tests/ui/unique_ptr_to_opaque.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unique_ptr_to_opaque.rs -------------------------------------------------------------------------------- /tests/ui/unique_ptr_to_opaque.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unique_ptr_to_opaque.stderr -------------------------------------------------------------------------------- /tests/ui/unique_ptr_twice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unique_ptr_twice.rs -------------------------------------------------------------------------------- /tests/ui/unique_ptr_twice.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unique_ptr_twice.stderr -------------------------------------------------------------------------------- /tests/ui/unnamed_receiver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unnamed_receiver.rs -------------------------------------------------------------------------------- /tests/ui/unnamed_receiver.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unnamed_receiver.stderr -------------------------------------------------------------------------------- /tests/ui/unpin_impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unpin_impl.rs -------------------------------------------------------------------------------- /tests/ui/unpin_impl.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unpin_impl.stderr -------------------------------------------------------------------------------- /tests/ui/unrecognized_receiver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unrecognized_receiver.rs -------------------------------------------------------------------------------- /tests/ui/unrecognized_receiver.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unrecognized_receiver.stderr -------------------------------------------------------------------------------- /tests/ui/unsupported_elided.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unsupported_elided.rs -------------------------------------------------------------------------------- /tests/ui/unsupported_elided.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/unsupported_elided.stderr -------------------------------------------------------------------------------- /tests/ui/vec_opaque.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/vec_opaque.rs -------------------------------------------------------------------------------- /tests/ui/vec_opaque.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/vec_opaque.stderr -------------------------------------------------------------------------------- /tests/ui/vector_autotraits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/vector_autotraits.rs -------------------------------------------------------------------------------- /tests/ui/vector_autotraits.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/vector_autotraits.stderr -------------------------------------------------------------------------------- /tests/ui/wrong_type_id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/wrong_type_id.rs -------------------------------------------------------------------------------- /tests/ui/wrong_type_id.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/ui/wrong_type_id.stderr -------------------------------------------------------------------------------- /tests/unique_ptr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tests/unique_ptr.rs -------------------------------------------------------------------------------- /third-party/.cargo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/.cargo/.gitignore -------------------------------------------------------------------------------- /third-party/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /vendor/ 3 | -------------------------------------------------------------------------------- /third-party/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/BUCK -------------------------------------------------------------------------------- /third-party/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/BUILD.bazel -------------------------------------------------------------------------------- /third-party/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/Cargo.lock -------------------------------------------------------------------------------- /third-party/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/Cargo.toml -------------------------------------------------------------------------------- /third-party/bazel/BUILD.anstyle-1.0.13.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.anstyle-1.0.13.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.cc-1.2.46.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.cc-1.2.46.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.clap-4.5.53.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.clap-4.5.53.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.clap_builder-4.5.53.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.clap_builder-4.5.53.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.clap_lex-0.7.6.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.clap_lex-0.7.6.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.codespan-reporting-0.13.1.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.codespan-reporting-0.13.1.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.equivalent-1.0.2.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.equivalent-1.0.2.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.find-msvc-tools-0.1.5.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.find-msvc-tools-0.1.5.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.foldhash-0.2.0.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.foldhash-0.2.0.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.hashbrown-0.16.1.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.hashbrown-0.16.1.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.indexmap-2.12.1.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.indexmap-2.12.1.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.proc-macro2-1.0.103.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.proc-macro2-1.0.103.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.quote-1.0.42.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.quote-1.0.42.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.rustversion-1.0.22.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.rustversion-1.0.22.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.scratch-1.0.9.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.scratch-1.0.9.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.serde-1.0.228.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.serde-1.0.228.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.serde_core-1.0.228.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.serde_core-1.0.228.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.serde_derive-1.0.228.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.serde_derive-1.0.228.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.shlex-1.3.0.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.shlex-1.3.0.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.syn-2.0.110.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.syn-2.0.110.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.termcolor-1.4.1.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.termcolor-1.4.1.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.unicode-ident-1.0.22.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.unicode-ident-1.0.22.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.unicode-width-0.2.2.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.unicode-width-0.2.2.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.winapi-util-0.1.11.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.winapi-util-0.1.11.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.windows-link-0.2.1.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.windows-link-0.2.1.bazel -------------------------------------------------------------------------------- /third-party/bazel/BUILD.windows-sys-0.61.2.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/BUILD.windows-sys-0.61.2.bazel -------------------------------------------------------------------------------- /third-party/bazel/alias_rules.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/alias_rules.bzl -------------------------------------------------------------------------------- /third-party/bazel/crates.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/crates.bzl -------------------------------------------------------------------------------- /third-party/bazel/defs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/third-party/bazel/defs.bzl -------------------------------------------------------------------------------- /third-party/fixups/proc-macro2/fixups.toml: -------------------------------------------------------------------------------- 1 | buildscript.run = true 2 | -------------------------------------------------------------------------------- /third-party/fixups/quote/fixups.toml: -------------------------------------------------------------------------------- 1 | buildscript.run = true 2 | -------------------------------------------------------------------------------- /third-party/fixups/rustversion/fixups.toml: -------------------------------------------------------------------------------- 1 | buildscript.run = true 2 | -------------------------------------------------------------------------------- /third-party/fixups/scratch/fixups.toml: -------------------------------------------------------------------------------- 1 | buildscript.run = true 2 | -------------------------------------------------------------------------------- /third-party/fixups/serde/fixups.toml: -------------------------------------------------------------------------------- 1 | buildscript.run = true 2 | cargo_env = ["CARGO_PKG_VERSION_PATCH"] 3 | -------------------------------------------------------------------------------- /third-party/fixups/serde_core/fixups.toml: -------------------------------------------------------------------------------- 1 | buildscript.run = true 2 | cargo_env = ["CARGO_PKG_VERSION_PATCH"] 3 | -------------------------------------------------------------------------------- /third-party/fixups/serde_derive/fixups.toml: -------------------------------------------------------------------------------- 1 | cargo_env = ["CARGO_PKG_VERSION_PATCH"] 2 | -------------------------------------------------------------------------------- /third-party/fixups/winapi-util/fixups.toml: -------------------------------------------------------------------------------- 1 | target_compatible_with = ["prelude//os:windows"] 2 | -------------------------------------------------------------------------------- /third-party/fixups/windows-sys/fixups.toml: -------------------------------------------------------------------------------- 1 | target_compatible_with = ["prelude//os:windows"] 2 | -------------------------------------------------------------------------------- /third-party/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/bazel/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tools/bazel/BUILD.bazel -------------------------------------------------------------------------------- /tools/bazel/extension.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tools/bazel/extension.bzl -------------------------------------------------------------------------------- /tools/bazel/rust_cxx_bridge.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tools/bazel/rust_cxx_bridge.bzl -------------------------------------------------------------------------------- /tools/buck/rust_cxx_bridge.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tools/buck/rust_cxx_bridge.bzl -------------------------------------------------------------------------------- /tools/buck/toolchains/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tools/buck/toolchains/BUCK -------------------------------------------------------------------------------- /tools/cargo/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/cxx/HEAD/tools/cargo/build.rs --------------------------------------------------------------------------------