Skip to content

Commit da2ce81

Browse files
committed
Revert "Derive Arbitrary for various core_arch::x86 types (#348)"
This reverts commit dacc2d5.
1 parent e5df01b commit da2ce81

File tree

4 files changed

+2
-68
lines changed

4 files changed

+2
-68
lines changed

.github/workflows/goto-transcoder.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
uses: actions/checkout@v4
2828
with:
2929
submodules: true
30-
- name: Apply stdarch patch
31-
run: cd library/stdarch && patch -p1 < ../../stdarch.patch
3230

3331
# Step 2: Generate contracts programs
3432
- name: Generate contracts

.github/workflows/kani-metrics.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626
with:
2727
submodules: true
28-
- name: Apply stdarch patch
29-
run: cd library/stdarch && patch -p1 < ../../stdarch.patch
30-
28+
3129
# The Kani metrics collection uses a Python script (kani_std_analysis.py), so make sure Python is installed
3230
- name: Set up Python
3331
uses: actions/setup-python@v4

.github/workflows/kani.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ jobs:
5151
with:
5252
path: head
5353
submodules: true
54-
- name: Apply stdarch patch
55-
run: cd head/library/stdarch && patch -p1 < ../../stdarch.patch
56-
54+
5755
# Step 2: Install jq
5856
- name: Install jq
5957
if: matrix.os == 'ubuntu-latest'
@@ -90,8 +88,6 @@ jobs:
9088
uses: actions/checkout@v4
9189
with:
9290
submodules: true
93-
- name: Apply stdarch patch
94-
run: cd library/stdarch && patch -p1 < ../../stdarch.patch
9591

9692
# Step 2: Run Kani autoharness on the std library for selected functions.
9793
# Uses "--include-pattern" to make sure we do not try to run across all
@@ -102,8 +98,6 @@ jobs:
10298
# - We use >::disjoint_bitor (and >::unchecked_disjoint_bitor) as pattern
10399
# as whitespace is not supported, cf.
104100
# https://github.com/model-checking/kani/issues/4046
105-
# - core_arch::x86::__m128d::as_f64x2 is just one example of hundreds of
106-
# core_arch::x86:: functions that are known to verify successfully.
107101
- name: Run Kani Verification
108102
run: |
109103
scripts/run-kani.sh --run autoharness --kani-args \
@@ -113,7 +107,6 @@ jobs:
113107
--include-pattern alloc::layout::Layout::from_size_align \
114108
--include-pattern ascii::ascii_char::AsciiChar::from_u8 \
115109
--include-pattern char::convert::from_u32_unchecked \
116-
--include-pattern core_arch::x86::__m128d::as_f64x2 \
117110
--include-pattern "num::nonzero::NonZero::<i8>::count_ones" \
118111
--include-pattern "num::nonzero::NonZero::<i16>::count_ones" \
119112
--include-pattern "num::nonzero::NonZero::<i32>::count_ones" \
@@ -295,8 +288,6 @@ jobs:
295288
with:
296289
path: head
297290
submodules: true
298-
- name: Apply stdarch patch
299-
run: cd head/library/stdarch && patch -p1 < ../../stdarch.patch
300291

301292
# Step 2: Run list on the std library
302293
- name: Run Kani List
@@ -329,8 +320,6 @@ jobs:
329320
uses: actions/checkout@v4
330321
with:
331322
submodules: true
332-
- name: Apply stdarch patch
333-
run: cd library/stdarch && patch -p1 < ../../stdarch.patch
334323

335324
# Step 2: Run autoharness analyzer on the std library
336325
- name: Run Autoharness Analyzer

stdarch.patch

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)