Hi, It should work fine as long as you use crate-type 'cdylib' instead of 'dylib'. For example see https://github.com/cloudius-systems/osv-apps/tree/master/rust-httpserver.
Now it would be interesting to see if Rust can build a pie. Pie executable should work on OSv as long as it does not use thread local variables (see https://github.com/cloudius-systems/osv/issues/352) which we hope fix as well. Pure shared libraries have no problems. Who knows maybe Rust generated executables are PIEs by default. I do not remember I have tested those. Waldek PS. I have tested also this simple app under load - https://github.com/wkozaczuk/unikernels-v-containers/tree/master/restapi/rust-osv - and have not seen any crashed. But use it at your own risk :-) On Thursday, April 18, 2019 at 9:37:20 AM UTC-4, Kaushalya Pradeep wrote: > > Hello, > > Can we Rust lang with OSv? If not what is missing or lagging behind? > > Thanks > > BR, > Kaushalya > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
