Roman Volosatovs

Results 116 comments of Roman Volosatovs

> I personally fall on the conservative side of API design, so my knee-jerk reaction is to not include something like this. Could you expand a bit more on the...

I'm successfully cross-compiling Android binaries on x86_64-linux using https://github.com/ipetkov/crane and this cross package set: https://github.com/rvolosatovs/nixify/blob/c06d74a4cebc2a149bef2e9237a9a08c135cad22/lib/rust/defaultPkgsFor.nix#L40 I'm using https://github.com/rui314/mold linker, but it should not matter, it's a pretty standard cross setup...

> Ok, this looks promising but is a complex nix. I tried using as in the examples: > > P.D: The [sample branch is here](https://github.com/mamcx/RustStoreNix/tree/nixify) > > ```nix > {...

@andrewvious the `wasm32-wasi` is already supported by this flake for a while, I've been using it over a year now on x86_64 and aarch64 Linux and Darwin with no issues....

@alper make sure to set `HOST_CC` and `HOST_AR`, like so: https://github.com/rvolosatovs/nixify/blob/c06d74a4cebc2a149bef2e9237a9a08c135cad22/lib/rust/mkAttrs.nix#L320-L321

> How do you encode `string` in Wube? As `list`? Ah, good point, forgot to mention that one - strings are UTF-8-encoded and `0`-delimited, sort of like C strings. The...

> How do you handle partial type definition in Wube? Like `result`? Do you simply encode `Ok` as `0x00` ? yes, indeed. By the way, a few updates to the...

> I assume that enums and variants are now also encoded using LEB128, so you don't need to know the total number of possible values any more? that's the thinking,...

is this now done? @vados-cosmonic @brooksmtownsend

> provider-wit-bindgen is changing a lot in feat/wrpc, @rvolosatovs any negative consequences of waiting on this PR for a bit? Not really