How to get acces to import.meta.url
info or similar in rust ops
#22990
-
I can't figure out, how to get metainformation about the currently processed script resp. the stack of involved scripts from within rust ops? Does anybody know, where do look for this kind of information? thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
bartlomieju
Mar 20, 2024
Replies: 1 comment 3 replies
-
There's no easy way to do that. Could you tell more about the use case you have? Maybe there's another API that would help with the case? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The easiest and best solution would be to pass the value of
import.meta.url
to a Rust op - there's really no universal way to get this value in Rust.