跳到正文
Georgios Konstantopoulos· gakonst·· 1 天前AI 评分51

Foundry/Solar 加入编译器插桩,优化代码下也可获得完整覆盖率

We're finally adding compiler instrumentation to Foundry/Solar, so that you can get complete coverage maps even with optimized code.

AI 导读

Georgios Konstantopoulos 表示 Foundry/Solar 正在加入编译器插桩,使优化后的代码也能获得完整覆盖率。他称此前基于 sourcemap 的做法已持续约十年,这次以高性能方式解决;过去通过插件在源码层添加模拟合约存储或调用的方式被其称为糟糕的 hack,今后不再需要。

来源:Georgios Konstantopoulos · x.com