nmeylan / rust-ro

A Ragnarok online server implementation from scratch, inspired by rathena and herculesws
https://discord.gg/AJkR8mhdFJ
MIT License
105 stars 13 forks source link

Compile using stable instead of nightly #32

Open nmeylan opened 9 months ago

nmeylan commented 9 months ago

Currently the project only compile using rust nightly because of https://github.com/nmeylan/rathena-script-lang-interpreter which use https://github.com/rrevenantt/antlr4rust which use rust nightly feature

I started working to rewrite some part of antlr4rust without those nightly feature in my fork https://github.com/nmeylan/antlr4rust but still many work to do

brandc87 commented 5 months ago

Upgrading ANTLR4 to 0.3 will now let you compile with stable

nmeylan commented 5 months ago

hi @brandc87 can you give me the link to v0.3? haven't found it, nor in any fork of antlr4rust repository, is it another crate?

brandc87 commented 5 months ago

Hi, looks like it's in pre-release. The main repo states:

For now development is going on in this repository but eventually it will be merged to main ANTLR4 repo

Since version 0.3 works on stable rust. Previous versions are not maintained any more so in case of nightly breakage you should migrate to the latest version.

[dependencies]
antlr-rust = "0.3"