rust

Issues referencing and mutating id_tree Rust

I’m at an impasse while using the id_tree crate. I’m using an id_tree to model the relationship between entities in my application. When deleting/adding/moving an element I would like to look up its position in the tree, then update the tr…

Call Rust with arguments

I’ve been trying to call a Rust function from C with multiple string arguments, but for some reason the only argument that being sent is the first. This is what I’ve tried:
input.c
extern void print_str(char str1, char str2);

void c_funct…