-
Notifications
You must be signed in to change notification settings - Fork 374
Unit tests for 0.8.4 fail on macOS #330
Copy link
Copy link
Closed
Description
I'm trying to fix PR #306. However, when I try to cargo test on macOS 10.14.4 / rustc 1.36.0-nightly, cargo test gives these failures:
failures:
test_alias
test_annotation
test_asserted_cast
test_derive_eq
test_display_list
test_enum
test_item_types
test_item_types_renamed
test_monomorph_1
test_monomorph_3
test_must_use
test_prefix
test_rename
test_reserved
test_transform_op
test result: FAILED. 54 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out
There are many pages of error output, but here's an example:
thread 'test_reserved' panicked at 'Output failed to compile: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "/Users/rb/Documents/Development/Source/_thirdparty/cbindgen/tests/expectations/reserved.cpp:16:8: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]\n enum class Tag : uint8_t {\n ^\n/Users/rb/Documents/Development/Source/_thirdparty/cbindgen/tests/expectations/reserved.cpp:16:14: error: ISO C++ forbids forward references to \'enum\' types\n enum class Tag : uint8_t {\n ^\n/Users/rb/Documents/Development/Source/_thirdparty/cbindgen/tests/expectations/reserved.cpp:16:28: error: expected \'(\' for function-style cast or type construction\n enum class Tag : uint8_t {\n ~~~~~~~ ^\n1 warning and 2 errors generated.\n" }', tests/tests.rs:77:5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels