Skip to content

[windows] fix windows build - #2276

Merged
bbannier merged 2 commits into
zeek:mainfrom
mamaorha:ms/windows/spicy
Mar 19, 2026
Merged

[windows] fix windows build#2276
bbannier merged 2 commits into
zeek:mainfrom
mamaorha:ms/windows/spicy

Conversation

@mamaorha

Copy link
Copy Markdown

No description provided.

@mamaorha
mamaorha force-pushed the ms/windows/spicy branch 8 times, most recently from 57f5332 to db4b4bf Compare March 10, 2026 17:17
@codspeed-hq

codspeed-hq Bot commented Mar 10, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 5.37%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 2 improved benchmarks
❌ 1 regressed benchmark
✅ 25 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
iterate_set[len:1] 590 ns 559.2 ns +5.51%
iterate_bytes[len:1] 1 µs 1.1 µs -5.37%
iterate_vector[len:1] 1.1 µs 1.1 µs +5.52%

Comparing mamaorha:ms/windows/spicy (7c74427) with main (1c5b216)

Open in CodSpeed

@mamaorha
mamaorha force-pushed the ms/windows/spicy branch 4 times, most recently from c7eef10 to f32dfc7 Compare March 10, 2026 20:47
Comment thread 3rdparty/fiber
Comment thread 3rdparty/CMakeLists.txt Outdated
Comment thread 3rdparty/CMakeLists.txt Outdated
Comment thread 3rdparty/CMakeLists.txt Outdated
Comment thread 3rdparty/CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
Comment thread hilti/runtime/CMakeLists.txt Outdated
Comment thread hilti/toolchain/bin/hilti-config.cc Outdated
Comment thread hilti/toolchain/include/ast/builder/builder.h Outdated
Comment thread spicy/toolchain/src/compiler/parser/parser.yy Outdated
@mamaorha
mamaorha force-pushed the ms/windows/spicy branch 4 times, most recently from 8c9b518 to dad0daa Compare March 11, 2026 16:05
@mamaorha
mamaorha marked this pull request as draft March 12, 2026 07:42
@mamaorha
mamaorha force-pushed the ms/windows/spicy branch 5 times, most recently from f01c949 to 287257d Compare March 14, 2026 11:37
Comment thread hilti/runtime/include/util.h Outdated
Comment thread spicy/toolchain/bin/spicy-dump/CMakeLists.txt
@mamaorha
mamaorha marked this pull request as ready for review March 14, 2026 13:12
@mamaorha
mamaorha requested a review from bbannier March 16, 2026 10:55
Comment thread 3rdparty/fiber
Comment thread hilti/runtime/CMakeLists.txt Outdated
Comment thread hilti/runtime/include/util.h Outdated
Comment thread hilti/runtime/include/types/map.h
Comment thread hilti/runtime/include/fiber.h Outdated
@mamaorha
mamaorha force-pushed the ms/windows/spicy branch 2 times, most recently from 3d76451 to 995003e Compare March 18, 2026 10:01
Comment thread hilti/runtime/include/util.h
Comment thread hilti/runtime/src/tests/backtrace.cc
Comment thread hilti/runtime/src/tests/bytes.cc Outdated
Comment thread hilti/runtime/src/tests/library.cc Outdated
Comment thread hilti/runtime/src/util.cc Outdated
Comment thread hilti/runtime/src/types/stream.cc Outdated
Comment thread hilti/runtime/src/types/bytes.cc Outdated
Comment thread hilti/toolchain/bin/hilti-config.cc Outdated
Comment thread hilti/runtime/include/util.h Outdated
Comment thread hilti/runtime/include/fiber.h Outdated
@mamaorha
mamaorha force-pushed the ms/windows/spicy branch 3 times, most recently from 134eb8a to e9ef00f Compare March 18, 2026 14:17
Maor Hamami and others added 2 commits March 19, 2026 17:39
This adds a first iteration for adding Windows support for Spicy. With
this patch the code builds, and unit tests pass. We also tested that
this version of Spicy is usably in a fixed up version of Zeek.
The previous formatting confused the spellchecker.

@bbannier bbannier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sticking around for multiple rounds of reviews @mamaorha. I think this is in great shape for any further work we might want to do in this area.

@bbannier
bbannier merged commit be5112d into zeek:main Mar 19, 2026
21 of 22 checks passed
@mamaorha
mamaorha deleted the ms/windows/spicy branch March 20, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants