Bennet Bleßmann
760e1d2aac
fix UB in ffi tests
2025-08-01 19:08:24 +02:00
Bennet Bleßmann
e1246f0c83
add new test helper
2025-08-01 19:08:02 +02:00
Bennet Bleßmann
bd1f8bb37e
make ffi support full {i,u}64 range
2025-08-01 19:07:07 +02:00
Bennet Bleßmann
620459ea1e
fix {i,u}64 in ffi
2025-08-01 18:37:48 +02:00
Bennet Bleßmann
d2502b0520
fix all but {i,u}64
2025-08-01 18:37:35 +02:00
Bennet Bleßmann
34eab2e73a
fix crash when trying to load and ffi library with an invalid type specification
2025-08-01 18:22:15 +02:00
Bennet Bleßmann
db3f2717bc
add more ffi tests
2025-08-01 18:22:14 +02:00
Bennet Bleßmann
7227e1d97c
cleanup and fix miri & cross-compile
2025-08-01 18:22:13 +02:00
Bennet Bleßmann
9d8906da30
add ffi tests using f64
2025-08-01 18:22:01 +02:00
Mark Thom
f91aedcc2f
Merge pull request #3019 from Skgland/rebis-dev_fix-clippy
...
fix clippy
2025-07-31 22:09:41 -07:00
Bennet Bleßmann
4f04d2dfca
replace .skip(n).next() with .nth(n)
2025-07-31 21:47:12 +02:00
Bennet Bleßmann
de89a78cbb
remove unecessary cast
2025-07-31 21:47:11 +02:00
Bennet Bleßmann
e7600884fb
remove unecessary into_iter
2025-07-31 21:47:11 +02:00
Bennet Bleßmann
3365cffa96
prefere for loop
2025-07-31 21:47:10 +02:00
Bennet Bleßmann
df3f1236f7
replace always erroring of_else with map_err
2025-07-31 21:47:09 +02:00
Bennet Bleßmann
8766851919
replace single non-wildcard pattern match with if let
2025-07-31 21:47:09 +02:00
Bennet Bleßmann
014d1b0095
remove already implied must_use
2025-07-31 21:47:08 +02:00
Bennet Bleßmann
c885d1a7e7
collaps els-if / if-if
2025-07-31 21:47:08 +02:00
Bennet Bleßmann
7593f88d5a
ingore nerver looping loop, but add a todo
2025-07-31 21:47:07 +02:00
Bennet Bleßmann
6885074006
fix clippy::unit_arg
2025-07-31 21:47:07 +02:00
Bennet Bleßmann
73cc872b50
check not empty instead of len > 0
2025-07-31 21:47:06 +02:00
Bennet Bleßmann
fae5e13bd5
impl From rather than Into
2025-07-31 21:47:05 +02:00
Bennet Bleßmann
6d7c217227
fix unecessary mut
2025-07-31 21:47:05 +02:00
Bennet Bleßmann
166ec02973
ignore clippy::unbuffered_bytes in test helper functions
2025-07-31 21:47:04 +02:00
Bennet Bleßmann
1d26f98688
fix legacy int constants
2025-07-31 21:47:04 +02:00
Bennet Bleßmann
58b9a6ad69
ignore wrong self convention
2025-07-31 21:47:03 +02:00
Bennet Bleßmann
a639fec153
fix match/if-let can be simplified to ?
2025-07-31 21:47:03 +02:00
Bennet Bleßmann
495bcd73f2
fix unecessary return
2025-07-31 21:46:52 +02:00
Bennet Bleßmann
ae3019d923
fix unecessary reference/dereference
2025-07-31 21:46:51 +02:00
Bennet Bleßmann
72631b3e0b
fix clone on copy values
2025-07-31 21:28:39 +02:00
Bennet Bleßmann
8cc74b2af7
fix clippy::uninlined_format_args
2025-07-31 21:26:08 +02:00
Bennet Bleßmann
7199e9a2db
remove outdated comment
2025-07-31 20:07:57 +02:00
Bennet Bleßmann
edf21494d9
also run CI on rebis-dev
2025-07-31 20:07:07 +02:00
Mark Thom
9b293cf1b6
detect end_of_file before end_of_stream in get_char ( #2990 )
2025-07-22 20:39:52 -07:00
Mark Thom
65dda019a2
allow abolish_clause to abolish empty dynamic clauses ( #3010 )
2025-07-20 16:55:07 -07:00
Mark Thom
4aa2a45736
fix variadic_functor
2025-07-16 21:52:40 -07:00
Mark Thom
4efceda8c5
fix parsing partial number tokens in other radixes ( #3000 )
2025-07-14 23:05:10 -07:00
Mark Thom
b78ccf8f28
fmt improvements
2025-07-08 13:47:08 -07:00
Mark Thom
e303e5a805
correct number_chars ( #2976 )
2025-07-07 22:44:05 -07:00
Mark Thom
762b63e1f4
use granular hierarchical locks in offset_table.rs
2025-07-07 22:44:02 -07:00
Mark Thom
2844b5a958
synchronize offset table growth with the borrowing of offset pointers
2025-07-07 22:39:47 -07:00
Mark Thom
1332611f83
use OffsetTableImpl without synchronization by default
2025-07-07 22:39:47 -07:00
Bennet Bleßmann
725def07cd
fix crash when loading html
2025-07-07 22:39:47 -07:00
Bennet Bleßmann
cbdd0fbf15
make Fixnum::build_with harder to accidentally misuse
...
change trait bound order for better
2025-07-07 22:39:34 -07:00
bakaq
87ca083cfa
Align the heap to the size of heap cells
2025-07-07 22:38:12 -07:00
bakaq
d01557f3c1
Add scan_slice_to_str_from_start
2025-07-07 22:38:12 -07:00
Mark Thom
8b009448f4
correct threshold marking in copy_structure ( #2920 )
2025-07-07 22:38:12 -07:00
Markus Triska
709dc041eb
FIXED: correct partial string tail calculation in arg/3
...
This addresses another aspect of #2924 , found by @haijinSk.
Thank you again!
Example:
?- "aaaaaaa" = [_,_,_,_,_,_|T], arg(2, T, 2).
false.
2025-07-07 22:38:12 -07:00
Markus Triska
8763a42c98
FIXED: arg/3 for partial strings
...
This address #2924 , reported by @haijinSk. Thank you a lot!
Example:
?- arg(2, "a", A).
A = [].
The fact that such a mistake in macro usage is even possible could be
a sign that the macro definition should be stricter.
2025-07-07 22:38:12 -07:00
Mark Thom
d6b6eda77d
fix cont function crashes ( #2920 )
2025-07-07 22:38:12 -07:00