diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-07-31 16:13:25 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:00:26 +0100 |
commit | 6db677bac0e24228431d1f20f21dc2bc5b6d00a9 (patch) | |
tree | c07d2593222b4bf76464082cc8f33de88d5dbc60 | |
parent | daae0c5dffa45f5300b9af372e13a6ae3ef56366 (diff) | |
download | gcc-6db677bac0e24228431d1f20f21dc2bc5b6d00a9.zip gcc-6db677bac0e24228431d1f20f21dc2bc5b6d00a9.tar.gz gcc-6db677bac0e24228431d1f20f21dc2bc5b6d00a9.tar.bz2 |
gccrs: forever-stack: Use rust_assert instead of assert
This causes complaints by our GCC 4.8 builder.
gcc/rust/ChangeLog:
* resolve/rust-forever-stack.hxx: assert() -> rust_assert()
-rw-r--r-- | gcc/rust/resolve/rust-forever-stack.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/resolve/rust-forever-stack.hxx b/gcc/rust/resolve/rust-forever-stack.hxx index 2685f1d1..c961e2b 100644 --- a/gcc/rust/resolve/rust-forever-stack.hxx +++ b/gcc/rust/resolve/rust-forever-stack.hxx @@ -83,7 +83,7 @@ template <Namespace N> void ForeverStack<N>::pop () { - assert (!cursor ().is_root ()); + rust_assert (!cursor ().is_root ()); rust_debug ("popping link"); |