Implement with_compartment to enter compartments from Rust code.
Merge pull request #78 from Ms2ger/with_compartment

Implement with_compartment to enter compartments from Rust code.