Skip to content

Commit

Permalink
forever-stack: Use rust_assert instead of assert
Browse files Browse the repository at this point in the history
This causes complaints by our GCC 4.8 builder.

gcc/rust/ChangeLog:

	* resolve/rust-forever-stack.hxx: assert() -> rust_assert()
  • Loading branch information
CohenArthur committed Aug 1, 2023
1 parent d9e87e7 commit 4f1838b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/rust/resolve/rust-forever-stack.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ template <Namespace N>
void
ForeverStack<N>::pop ()
{
assert (!cursor ().is_root ());
rust_assert (!cursor ().is_root ());

rust_debug ("popping link");

Expand Down

0 comments on commit 4f1838b

Please sign in to comment.