wasi-common/yanix: fix FreeBSD support#756
wasi-common/yanix: fix FreeBSD support#756sunfishcode merged 3 commits intobytecodealliance:masterfrom valpackett:freebsd
Conversation
kubkon
left a comment
There was a problem hiding this comment.
Hey! Thanks for the PR! The changes look great to me, just a couple of nitpicks.
|
Now that I look at how we use This is not directly relevant to changes introduced in this PR, but I thought it's good to point that out, and fix in a subsequent PR. |
|
The linked comment says that defining If FreeBSD doesn't support |
Hmm, that's a good catch! I missed the fact that the reason I reckon trying to implement them manually for our use sounds good, and if impossible, dropping it from WASI is within reason as well (as we might have to do with symlinks for instance due to the differences between *nixes and Windows). |
|
Maybe defining them to |
|
Yes, defining |
|
To elaborate, while the comment here says that defining |
|
Updated with
|
* Clarify that FixedTied constraints are not Tied
O_DSYNC, define that to zero, same withO_RSYNCcfgfornot(…)in the bitflags because Constants cannot be cfg-gated multiple times bitflags/bitflags#137 butcfg_ifis better anyway (platforms only listed once)d_filenofor inode