Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
34
vendor/cxx/tests/ui/struct_cycle.rs
vendored
Normal file
34
vendor/cxx/tests/ui/struct_cycle.rs
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#[cxx::bridge]
|
||||
mod ffi {
|
||||
struct Node0 {
|
||||
i: i32,
|
||||
}
|
||||
|
||||
struct Node1 {
|
||||
node2: Node2,
|
||||
vec: Vec<Node3>,
|
||||
}
|
||||
|
||||
struct Node2 {
|
||||
node4: Node4,
|
||||
}
|
||||
|
||||
struct Node3 {
|
||||
node1: Node1,
|
||||
}
|
||||
|
||||
struct Node4 {
|
||||
node0: Node0,
|
||||
node5: Node5,
|
||||
}
|
||||
|
||||
struct Node5 {
|
||||
node2: Node2,
|
||||
}
|
||||
|
||||
struct Node6 {
|
||||
node2: Node2,
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue