Skip to content

How to get acces to import.meta.url info or similar in rust ops #22990

Answered by bartlomieju
mash-graz asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mash-graz
Comment options

@bartlomieju
Comment options

Answer selected by mash-graz
@mash-graz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants