aronson / discord-irc

Connects Discord and IRC channels by sending messages back and forth.
MIT License
4 stars 2 forks source link

Enable `compilerOptions.experimentalDecorators` for compatibility with Deno 1.41 #60

Closed catuhana closed 8 months ago

catuhana commented 8 months ago

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.

catuhana commented 8 months ago

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

catuhana commented 8 months ago

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 8 months ago

Apparently, denoland/deno#22542 exists.