Pete Hayman
Pete Hayman
Ok so it works if you cd into the crate, ie ```cd crates/my_crate && wasm-pack build``` It'd be lovely if it 'just works' with no config.
Is this due to `inventory` not supporting wasm? I got around this with [my test framework](https://github.com/mrchantey/forky/blob/f8ba1fc1be95c5957b8bcd6284c4319c825c86d4/crates/sweet/macros/src/macros/build_output.rs#L8C9-L8C10) by using `inventory` for native, and a global scope hack in wasm that adds...
Are workspaces supported? I can't find any documentation on whether they are.
Thankyou for the encouragement @kyr0, totally understand where you're coming from, AS seems like a real goldilocks :) . Its great to hear that there is interest in this kind...
Ok things are making more sense now. The syntax I was looking for was: - `offsetof()` - get class size - [docs](https://www.assemblyscript.org/stdlib/globals.html#utilities) - `heap.alloc()` - allocate some amount of memory...
Worked out a 'solution', not very pretty though, details [here](https://stackoverflow.com/questions/71928142/assemblyscript-linear-nested-class-layout/71947280#71947280)
This is great, I hadn't considered the cost of abstraction. I'll have a play with how this can work with linear data layouts, and then come back to the PR.
For me there was only one rule causing an error and this was the fix: ```js { name: 'astro-bad-rules', files: ['**/*.astro'], rules: { '@stylistic/ts/indent': 'off', }, }, ```
Not sure if this is exactly the same problem as above but in case its useful here's the workaround I'm using, in a web component that allows users to specify...
I was just thinking about this feature this morning so happy to hear its bring worked on, being able to target WebGPU will unlock so many cool web demos 🤩