-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
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:
- Windows support ttrpc-rust#132
- implementation in Windows Support for Sync implementation ttrpc-rust#172
- Will the rust-extensions support Windows? rust-extensions#4
- Ensure can
buildand run test image on windows-
Import base layer images microsoft/hcsshim#1688 - Figure out how to remove platform specific files from docker images deislabs/containerd-wasm-shims#89
- Distribute using OCI artifacts / allow shim to pull artifact #108
- proposal for WASI image in containerd: https://docs.google.com/document/d/11shgC3l6gplBjWF1VJCWvN_9do51otscAm0hBDGSSAc/edit
-
- Support in runwasi
- refactor usage of nix in runwasi
-
refactor the cgroup setup to run only on Windowsour cgroup support was removed feat: remove cgroups implementation #221 - Add Windows e2e tests
- enable this test on Windows.
- convert harded coded sockets to named pipes on windows for instance
- Upgrade to protobuff 3.x - Update project to latest shim-protos and ttrpc using protobuf 3.x #81
- Do not panic if windows.layerFolder is null youki-dev/oci-spec-rs#127 :
let client = Client::connect("unix:///run/io.containerd.wasmtime.v1/manager.sock")?; - (low priority) Add ability to parse and layout file system. May not be needed since, we've moved to WASM OCI images which means containerd provides a blank disk and can solve other file system deps with https://github.com/bytecodealliance/wasi-virt. Need to looking to see if scratch space is expected?
- Add shim implementations
- poc - jsturtevant@5ca95bb
- launch shim as separate job process and load the OCI layers
- Likely require some of the work in https://github.com/jsturtevant/power-process to launch job object with Arg zero
- Support client create on Windows rust-extensions#205 - needed to load wasm modules from containerd
- Add network namespace logic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress