You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the exercise Safe FFI Wrapper there are "dirent" layouts for MacOS and "NOT MacOS". I'm running all the exercises on windows and I can't assume the layout would be the same on linux and windows. I also cant use std::os::unix::ffi::OsStrExt but i do have access to use std::os::windows::ffi::OsStrExt so I would think there is a specific layout for windows.
Is this something that could be added to the exercise template? The problem I'm having is translating unix calls to windows calls. I understand that the exercises assume you use the playground, but I like to keep my code locally. I also understand windows can be sort of a mess, but it's definitely something one might run into.
I'll be skipping this exercise for now, but I'm grateful for any pointers to relevant windows docs and would at least attempt to add the windows layout as a commit myself if I managed to get it working.
I'm currently using the course to extend my rust knowledge (and i dont have any experience doing syscalls), so I apologize if I've made faulty assumptions.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
In the exercise Safe FFI Wrapper there are "dirent" layouts for MacOS and "NOT MacOS". I'm running all the exercises on windows and I can't assume the layout would be the same on linux and windows. I also cant
use std::os::unix::ffi::OsStrExt
but i do have access touse std::os::windows::ffi::OsStrExt
so I would think there is a specific layout for windows.Is this something that could be added to the exercise template? The problem I'm having is translating unix calls to windows calls. I understand that the exercises assume you use the playground, but I like to keep my code locally. I also understand windows can be sort of a mess, but it's definitely something one might run into.
I'll be skipping this exercise for now, but I'm grateful for any pointers to relevant windows docs and would at least attempt to add the windows layout as a commit myself if I managed to get it working.
I'm currently using the course to extend my rust knowledge (and i dont have any experience doing syscalls), so I apologize if I've made faulty assumptions.
Thanks in advance.
The text was updated successfully, but these errors were encountered: