gjtorikian / commonmarker

Ruby wrapper for the comrak (CommonMark parser) Rust crate
MIT License
416 stars 80 forks source link

error while installing in docker #280

Closed god-of-javascript closed 3 months ago

god-of-javascript commented 3 months ago

Hi,

I have installed this gem and it works perfect in my local, but in github CD when we are building image I don't understand why It is not working fine. it gives this error:

#13 1223.0 error: cannot produce cdylib for `commonmarker v1.0.0
#13 1223.0 (/gems/ruby/3.2.0/gems/commonmarker-1.0.4/ext/commonmarker)` as the target
#13 1223.0 `x86_64-unknown-linux-musl` does not support these crate types
#13 1223.0 make: *** [Makefile:565: target/release/libcommonmarker.so] Error 101
#13 1223.0 
#13 1223.0 make failed, exit code 2

any idea how to fix it?

gjtorikian commented 3 months ago

Duplicate of https://github.com/gjtorikian/commonmarker/issues/272