> Or can the Rust code be called from multiple threads simultaneously
> without causing race issues?


AFAICT the Rust code doesn't change any state; it just parses an input to 
provide a Url object (and vice versa). The Url object needs to be put in a 
mutex if you wish to mutate it from multiple threads, but in itself you can 
call `Url::parse` as much as you want from as many threads as you want.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to