-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove duplicate ops from lib.rs. #2272
Conversation
@nathanielnrn I think you're code is the only bit of rust code which is still needed. I've tried to port it over but it seems to fail tests, but I suspect this is because it simply has a different output! Can you verify the behavior in this commit is what's intended? My |
So, just removed the new I don't think that codepath was being taken in the current tests (which I think go through So yeah, I'm of mind to just go ahead and remove the |
@jku20 are we planning to merge this? If not, what's blocking us? |
Nothing's blocking this other than a review and me forgetting to ask someone for one. |
Okay, so this is broken still because I think it will die if it compiles without "migrate_to_scripts" set. I think the course of action is to fix that and then just merge it (hopefully like this weekend or something like that). |
@jku20 can you say a bit more what this mean? I would like to get this merged. |
Currently lib.rs defines build_driver which I removed. This means when migrate_to_scripts isn’t set, the fud2 doesn’t compile. The fix is as simple as removing the compile option and all the references to build_driver. I should really just do that today (haven’t gotten around to it because had a pretty hectic couple weeks). |
Should be ready to be merged! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect!! Thank you, @jku20!
This PR removes ops from
lib.rs
which are duplicated in Rhai scripts.