Taaitaaiger / jlrs

Julia bindings for Rust
MIT License
429 stars 21 forks source link

Use `Base.loaded_modules` instead of checking Main when loading JlrsCore #90

Closed asinghvi17 closed 1 year ago

asinghvi17 commented 1 year ago

This commit allows JlrsCore to be detected if it is loaded at any point in the given session, not just from main. I'm not sure if this is the best approach, but it's probably better than hard-checking if Main.JlrsCore is a thing.

Taaitaaiger commented 1 year ago

Thanks!

Taaitaaiger commented 1 year ago

Looks like a few quotes need to be escaped