Skip to content

Commit

Permalink
Update stack protector test
Browse files Browse the repository at this point in the history
We no longer generate a protector for the strong case in this test,
which is actually the expected behavior per the test comment.
  • Loading branch information
nikic committed Oct 2, 2023
1 parent 0608fca commit ebbc687
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pub fn unsized_fn_param(s: [u8], l: bool, f: fn([u8])) {


// all: __stack_chk_fail
// strong: __stack_chk_fail
// strong-NOT: __stack_chk_fail
// basic-NOT: __stack_chk_fail
// none-NOT: __stack_chk_fail
// missing-NOT: __stack_chk_fail
Expand Down

0 comments on commit ebbc687

Please sign in to comment.