Open johnbowen42 opened 2 days ago
It's more complicated. The storage cache will store the code compiled with O3 (that's what we do by default), either in LLVM IR or object format. We need to define what should be the expected functionality. Also, what does debug mode mean in terms of optimization flags and debug info? Are you referring to cmake build types?
We probably need to take into account static compilation flags for compliance
Currently, the storage cache will persist between different build configurations. For example, if a developer compiles in debug mode, then switches to release mode, the cache will hold onto and emit the debug code.