misskey icon indicating copy to clipboard operation
misskey copied to clipboard

Add android-arm64 bindings for swc

Open CyberRex0 opened this issue 2 years ago • 2 comments

What

swcは複数プラットフォーム向けにプレビルドバイナリを提供しているが、swc側のpackage.jsonには、用意されているプラットフォームの全てが含まれているわけではなく、Androidにおいては手動で追加が必要。 backendのoptionalDependenciesに@swc/core-android-arm64 を追加する。

Why

backendのビルド時に Bindings not found とエラーが出て実行できないため。

補足

もともとはdevDependenciesなのにoptionalDependenciesに入れても大丈夫なのかどうか...

CyberRex0 avatar Jan 12 '23 22:01 CyberRex0

Codecov Report

Merging #9540 (bef200d) into develop (b2117ba) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #9540   +/-   ##
========================================
  Coverage    22.57%   22.57%           
========================================
  Files          731      731           
  Lines        68099    68099           
  Branches      2212     2212           
========================================
  Hits         15375    15375           
  Misses       52724    52724           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Jan 12 '23 23:01 codecov[bot]

swcの採用が撤回されたのでdraft化

CyberRex0 avatar Jan 13 '23 00:01 CyberRex0

swcは使わなそうなので、また使うことになったら出します

CyberRex0 avatar Jan 16 '23 01:01 CyberRex0