mars-research / redleaf

RedLeaf Operating System
118 stars 10 forks source link

Arc should not be passed across domain boundaries #36

Open tjhu opened 4 years ago

tjhu commented 4 years ago

We needed a clone method for Create but somehow it got implemented by wrapping Arcs around Creates. Arcs are not RRefable so they should not cross domain boundaries. Instead, the Arc should be placed side of Create

https://github.com/mars-research/redleaf/blob/94c06d470c8064eb1d30450c30fe5a567c6919a9/domains/usr/proxy/src/gen.rs#L93