-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
(Filing this at @oli-obk's request, based on discussions on Zulip.)
We should be able to read files within const eval. This is equivalent to doing include_bytes!
(which we already support at compile time), and should use the same machinery for "rebuild if this changes".
@oli-obk suggested that this could work by tagging specific portions of low-level file I/O as something akin to lang items, and then implementing that low-level file I/O by invoking the machinery that powers include_bytes!
.
programmerjake, Avi-D-coder, tstorch, Demonstrandum, aquacash5 and 6 moreseptatrix
Metadata
Metadata
Assignees
Labels
No labels