Skip to content

Commit ebbc687

Browse files
committed
Update stack protector test
We no longer generate a protector for the strong case in this test, which is actually the expected behavior per the test comment.
1 parent 0608fca commit ebbc687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/assembly/stack-protector/stack-protector-heuristics-effect.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ pub fn unsized_fn_param(s: [u8], l: bool, f: fn([u8])) {
371371

372372

373373
// all: __stack_chk_fail
374-
// strong: __stack_chk_fail
374+
// strong-NOT: __stack_chk_fail
375375
// basic-NOT: __stack_chk_fail
376376
// none-NOT: __stack_chk_fail
377377
// missing-NOT: __stack_chk_fail

0 commit comments

Comments
 (0)