include_bytes! macro can not find file present in same directory as source file
The documentation for include_bytes! specifies:
Includes a file as a reference to a byte array.
The file is located relative to the current file (similarly to how modules are found). The provided path is interpreted in a platform-specific way at compile time. So, for instance, an invocation with a Windows path containing backslashes \ would not compile correctly on Unix.
When creating a project with rules_rust, compilation produces errors that no such file or directory exists.
This is similar to #79 , except the files are present in the same directory as the source file instead of being the output of a genrule.
The files need to be included in the data arg of rust_binary/library.
Feel free to reopen if adding to data attr was not the fix.