From 0bb7b9f1c4652f63f41eba4064b79c044fd3d955 Mon Sep 17 00:00:00 2001 From: Travis Finkenauer Date: Fri, 4 Aug 2017 09:51:42 -0700 Subject: Add --rust-target to replace --unstable-rust Instead of specifying whether or not to use stable, specify the Rust release to support (one of several stable/beta releases or nightly). The --unstable-rust option is still accepted and implies nightly. The definitions of `RustTarget` and `RustFeatures` are created with macros. For each test that uses unions, there is a version that uses the latest stable release and stable 1.0. --- tests/headers/class_with_inner_struct.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/headers/class_with_inner_struct.hpp') diff --git a/tests/headers/class_with_inner_struct.hpp b/tests/headers/class_with_inner_struct.hpp index ec729fe6..79a8b95b 100644 --- a/tests/headers/class_with_inner_struct.hpp +++ b/tests/headers/class_with_inner_struct.hpp @@ -1,5 +1,6 @@ // bindgen-flags: -- -std=c++11 + class A { unsigned c; struct Segment { int begin, end; }; -- cgit v1.2.3