|
|
|
|
|
by wyldfire
3325 days ago
|
|
> The include_* macros are great for “packaging”. Being able to compile small assets directly into the binary and eschewing run time file loading is fantastic for a small game. For C/C++/etc devs looking for something similar, BFD objcopy supports an "-I binary". It will emit an object file with _binary_objfile_start, _binary_objfile_end and _binary_objfile_size symbols. But I have got to say that making it a language feature means that Rust is truly a batteries included language. |
|
Having first-class language support for resource files looks fantastic.