Could we add to the standard library a macro, say 'include_sized_bin', that 
would be similar to std::macros::builtin::include_bin except that you'd also 
give it a sized type to return (instead of a slice of u8's) and you'd get a 
compile time error if the size of the file is different from the size of the 
type you specified.

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to