Enable compilerOptions.experimentalDecorators for compatibility with Deno 1.41 #60

Merged
catuhana merged 1 commit from deno-v1.41 into main 2024-02-26 21:20:06 +00:00
catuhana commented 2024-02-23 10:11:02 +00:00 (Migrated from github.com)

Deno 1.41 have an entirely different Decorator API, and libraries we use (mainly Harmony) is not ported to it. To get benefits of smaller deno compile and native ARM64 Linux outputs, we allow old Decorator API for now.

Deno 1.41 have an entirely different Decorator API, and libraries we use (mainly Harmony) is not ported to it. To get benefits of smaller `deno compile` and native ARM64 Linux outputs, we allow old Decorator API for now.
MTF (Migrated from github.com) reviewed 2024-02-23 10:11:02 +00:00
catuhana commented 2024-02-23 10:16:57 +00:00 (Migrated from github.com)

To add a note: aarch64-unknown-linux-gnu target is still not added to deno compile --target flag.

To add a note: `aarch64-unknown-linux-gnu` target is still not added to `deno compile --target` flag.
catuhana commented 2024-02-23 11:13:52 +00:00 (Migrated from github.com)

I cloned Deno locally and added aarch64 Linux target to see if it was uncomplete or just aren't added to compile flags, and it seems the latter. We just need to wait for Deno to add those targets. After that we can drop pi runner.

Also there seems to be a bug with compile, it won't save the output file with os error 13. I'm hoping those will be fixed with Deno 1.41.1. Doesn't happen with CI or Docker, might be related to my system.

I cloned Deno locally and added `aarch64` Linux target to see if it was uncomplete or just aren't added to `compile` flags, and it seems the latter. We just need to wait for Deno to add those targets. After that we can drop `pi` runner. ~~Also there seems to be a bug with `compile`, it won't save the output file with `os error 13`. I'm hoping those will be fixed with Deno 1.41.1.~~ Doesn't happen with CI or Docker, might be related to my system.
catuhana commented 2024-02-23 13:37:19 +00:00 (Migrated from github.com)

Apparently, denoland/deno#22542 exists.

Apparently, denoland/deno#22542 exists.
aronson (Migrated from github.com) approved these changes 2024-02-26 21:19:28 +00:00
Sign in to join this conversation.
No description provided.