Stream: wasi

Topic: ✔ Purpose of __wasilibc_unmodified_upstream


view this post on Zulip Scott Waye (May 01 2023 at 00:46):

Hi, I'm trying to get a build of the .net NativeAOT runtime going with the wasi-sdk and I'm missing the struct rlimit I see it is behind __wasilibc_unmodified_upstream . What is the purpose of __wasilibc_unmodified_upstream ?

view this post on Zulip Dan Gohman (May 01 2023 at 01:16):

The immediate purpose is to comment out parts of musl which aren't supported. WASI doesn't currently have a getrlimit function, so we comment out the rlimit struct.

view this post on Zulip Scott Waye (May 01 2023 at 13:00):

Thanks! I will investigate how we can do without it.

view this post on Zulip Notification Bot (May 01 2023 at 13:00):

Scott Waye has marked this topic as resolved.


Last updated: Nov 22 2024 at 16:03 UTC