I wanted a macro which can return Path of a filename given that the file otherwise it will cause compile time error.
let path = some_macro! ("filename");
Here that some_macro
checks if there is some file exists of that filename and returns the path, otherwise it will fail during the compilation. Is there any library that contains that kind of macro?