You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rs_bindings_from_cc/test/golden/bitfields_rs_api.rs
+1-37Lines changed: 1 addition & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -51,32 +51,14 @@ impl Default for WithBitfields {
51
51
}
52
52
}
53
53
54
-
// Error while generating bindings for constructor 'WithBitfields::WithBitfields':
55
-
// Can't generate bindings for WithBitfields::WithBitfields, because of missing required features (crubit.rs-features):
56
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for WithBitfields::WithBitfields (the type of __param_0 (parameter #1): references are not supported)
57
-
58
-
// Error while generating bindings for constructor 'WithBitfields::WithBitfields':
59
-
// Can't generate bindings for WithBitfields::WithBitfields, because of missing required features (crubit.rs-features):
60
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for WithBitfields::WithBitfields (the type of __param_0 (parameter #1): references are not supported)
61
-
62
-
// Error while generating bindings for function 'WithBitfields::operator=':
63
-
// Can't generate bindings for WithBitfields::operator=, because of missing required features (crubit.rs-features):
64
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for WithBitfields::operator= (return type: references are not supported)
65
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for WithBitfields::operator= (the type of __param_0 (parameter #1): references are not supported)
66
-
67
-
// Error while generating bindings for function 'WithBitfields::operator=':
68
-
// Can't generate bindings for WithBitfields::operator=, because of missing required features (crubit.rs-features):
69
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for WithBitfields::operator= (return type: references are not supported)
70
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for WithBitfields::operator= (the type of __param_0 (parameter #1): references are not supported)
71
-
72
54
/// This is a regression test for b/283835873 where the alignment of the
73
55
/// generated struct was wrong/missing.
74
56
///
75
57
/// # Safety
76
58
///
77
59
/// To call a function that accepts this type, you must uphold these requirements:
78
60
/// * Document why the following public unsafe fields of this type cannot be misused by callee:
79
-
/// * `status`: Rust type is unknown; safety requirements cannot be automatically generated: Unsupported type 'enum AlignmentRegressionTest::(unnamed at ./rs_bindings_from_cc/test/golden/bitfields.h:26:3)': No generated bindings found for ''
61
+
/// * `status`: Rust type is unknown; safety requirements cannot be automatically generated: Unsupported type 'enum AlignmentRegressionTest::(unnamed at ./rs_bindings_from_cc/test/golden/bitfields.h:25:3)': No generated bindings found for ''
@@ -103,24 +85,6 @@ impl Default for AlignmentRegressionTest {
103
85
}
104
86
}
105
87
106
-
// Error while generating bindings for constructor 'AlignmentRegressionTest::AlignmentRegressionTest':
107
-
// Can't generate bindings for AlignmentRegressionTest::AlignmentRegressionTest, because of missing required features (crubit.rs-features):
108
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for AlignmentRegressionTest::AlignmentRegressionTest (the type of __param_0 (parameter #1): references are not supported)
109
-
110
-
// Error while generating bindings for constructor 'AlignmentRegressionTest::AlignmentRegressionTest':
111
-
// Can't generate bindings for AlignmentRegressionTest::AlignmentRegressionTest, because of missing required features (crubit.rs-features):
112
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for AlignmentRegressionTest::AlignmentRegressionTest (the type of __param_0 (parameter #1): references are not supported)
113
-
114
-
// Error while generating bindings for function 'AlignmentRegressionTest::operator=':
115
-
// Can't generate bindings for AlignmentRegressionTest::operator=, because of missing required features (crubit.rs-features):
116
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for AlignmentRegressionTest::operator= (return type: references are not supported)
117
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for AlignmentRegressionTest::operator= (the type of __param_0 (parameter #1): references are not supported)
118
-
119
-
// Error while generating bindings for function 'AlignmentRegressionTest::operator=':
120
-
// Can't generate bindings for AlignmentRegressionTest::operator=, because of missing required features (crubit.rs-features):
121
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for AlignmentRegressionTest::operator= (return type: references are not supported)
122
-
// //rs_bindings_from_cc/test/golden:bitfields_cc needs [//features:experimental] for AlignmentRegressionTest::operator= (the type of __param_0 (parameter #1): references are not supported)
0 commit comments