gjtorikian / commonmarker

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

Warning when using v1.1.2 on WSL Ubuntu #294

Closed ErikSchierboom closed 1 month ago

ErikSchierboom commented 1 month ago

When using v1.1.2, I get the following warning:

/home/erik/.gem/ruby/3.3.0/gems/commonmarker-1.1.2-x86_64-linux/lib/commonmarker/3.3/commonmarker.so: warning: method redefined; discarding old fence_info
/home/erik/.gem/ruby/3.3.0/gems/commonmarker-1.1.2-x86_64-linux/lib/commonmarker/3.3/commonmarker.so: warning: method redefined; discarding old fence_info=

Here are some data on my machine:

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
$ ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
kivikakk commented 1 month ago

Thanks for this report! It'll be fixed in the next release, but won't affect the behaviour or performance in the meantime.