Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows support #49

Open
20 of 30 tasks
jsturtevant opened this issue Jan 9, 2023 · 7 comments
Open
20 of 30 tasks

Windows support #49

jsturtevant opened this issue Jan 9, 2023 · 7 comments
Assignees

Comments

@jsturtevant
Copy link
Contributor

jsturtevant commented Jan 9, 2023

Currently we cannot use this project on Windows. This is an umbrella issue to track Windows support. There may be more items added as the work progresses.

The project doesn't currently build: it builds since #238 🎉

 cargo build
   Compiling zstd-safe v5.0.2+zstd.1.5.2
   Compiling zstd-sys v2.0.4+zstd.1.5.2
   Compiling ittapi-sys v0.3.2
   Compiling wasmtime-runtime v2.0.2
   Compiling cranelift-wasm v0.89.2
   Compiling psm v0.1.21
   Compiling uapi v0.2.10
   Compiling uapi-proc v0.0.5
   Compiling num-traits v0.2.15
   Compiling ttrpc v0.6.1
   Compiling ittapi v0.3.2
   Compiling cap-fs-ext v0.26.1
error[E0425]: cannot find function `geteuid` in crate `libc`
   --> C:\Users\jstur\.cargo\registry\src\github.com-1ecc6299db9ec823\uapi-proc-0.0.5\src\lib.rs:16:34
    |
16  |             root: unsafe { libc::geteuid() == 0 },
    |                                  ^^^^^^^ help: a function with a similar name exists: `getpid`

Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `ttrpc` due to 58 previous errors
error: failed to run custom build command for `uapi v0.2.10

At a minimum the following tasks need to be completed:

@squillace
Copy link

thanks, @jsturtevant !!!

@jsturtevant
Copy link
Contributor Author

This is the PR that enables can import the test image to windows (microsoft/hcsshim#1688)

@jsturtevant
Copy link
Contributor Author

When parsing the runtime spec in runwasi it fails, tracking in youki-dev/oci-spec-rs#126

@squillace
Copy link

@jsturtevant this is great work, man

@jprendes
Copy link
Collaborator

To add to the TODO list, enable this test on Windows.

@liangchenghao1
Copy link

@jsturtevant Hi, I am working on creating a wasm container on a Windows node using runwasi.
I see that the key tasks listed in this issue have been basically solved, may I ask whether the wasm application under Windows can be preliminarily implemented now? If not, what are the key remaining issues?
Looking forward to your reply.

@jsturtevant
Copy link
Contributor Author

@liangchenghao1 Thanks for the interest, I've been side tracked with other work but I've updated the todo, list with the last items. remaining.

@Mossaka Mossaka moved this to In Progress in Runwasi 1.0 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

4 participants