Skip to content

Commit 668f0da

Browse files
Copilotludfjig
andcommitted
Remove compile-time error for benchmarks to allow profiling with debug symbols
Co-authored-by: ludfjig <[email protected]>
1 parent fecbe44 commit 668f0da

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/hyperlight_host/benches/benchmarks.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// Ensure benchmarks only run with release builds for meaningful performance measurements
18-
#[cfg(debug_assertions)]
19-
compile_error!(
20-
"Benchmarks can only be run with release builds. Use '--release' flag when running benchmarks."
21-
);
22-
2317
use criterion::{Criterion, criterion_group, criterion_main};
2418
use hyperlight_host::GuestBinary;
2519
use hyperlight_host::sandbox::{

0 commit comments

Comments
 (0)