Skgland
|
d1356db7e3
|
include a culprit in ffi_error
|
2025-08-24 19:56:24 +02:00 |
|
Skgland
|
20d52c093a
|
add ffi:{allocate,read_ptr,deallocate}
|
2025-08-24 19:56:23 +02:00 |
|
Mark Thom
|
39d02a0caf
|
clear rustc warnings (#3051)
|
2025-08-23 14:34:49 -07:00 |
|
Mark Thom
|
ad29f0f180
|
further improvements to cyclic partial list printing (#2635)
|
2025-08-23 13:23:39 -07:00 |
|
Skgland
|
348c5029b3
|
reduce msrv back to 1.85
|
2025-08-18 20:52:15 +02:00 |
|
Mark Thom
|
93cc4d4898
|
clear pdl after comparing partial strings (#3048)
|
2025-08-16 15:26:10 -07:00 |
|
Mark Thom
|
87f5295bd0
|
check for stack variables in ground_test before iterating (#3048)
|
2025-08-14 21:21:32 -07:00 |
|
Mark Thom
|
97607d2bcd
|
small tweak for read_from_term performance (#2668)
|
2025-08-12 22:29:31 -07:00 |
|
Mark Thom
|
216c251c48
|
deref terms in read_from_term (#2668)
|
2025-08-12 22:23:52 -07:00 |
|
Mark Thom
|
8af0a19130
|
Merge pull request #3042 from dcnorris/numerics
library(numerics), special funs from crate puruspe
|
2025-08-11 22:26:01 -07:00 |
|
David C. Norris
|
18c451e11c
|
Drop 2 extra lines flagged by 'cargo fmt'
|
2025-08-10 18:44:08 -04:00 |
|
David C. Norris
|
a4c071a44b
|
Address CI style complaints
|
2025-08-10 18:36:54 -04:00 |
|
Mark Thom
|
c0fb3fd429
|
Merge pull request #2786 from Skgland/ffi-f64-tests
add ffi tests & fix ffi
|
2025-08-10 13:14:15 -07:00 |
|
David C. Norris
|
af3792f79a
|
library(numerics), special funs from crate puruspe
|
2025-08-10 10:01:01 -04:00 |
|
Markus Triska
|
a8da2b6a99
|
ISO: remove nonstandard operator meta_predicate.
Use functional notation instead for declarations.
This addresses #2822.
|
2025-08-02 10:22:50 +02:00 |
|
Bennet Bleßmann
|
b2d639b159
|
fix arity of prcess_wait builtin errors
|
2025-08-01 20:49:14 +02:00 |
|
Bennet Bleßmann
|
25edde2eb4
|
replace filter by tfiltert and fix Pipe{Reader,Writer} streams
|
2025-08-01 20:47:51 +02:00 |
|
Bennet Bleßmann
|
dc08a4ab11
|
get process_create working and add tests
|
2025-08-01 20:47:22 +02:00 |
|
Bennet Bleßmann
|
dc495f10f8
|
change behaviour in supposedly unreachable cases
|
2025-08-01 20:46:31 +02:00 |
|
Bennet Bleßmann
|
ca52c65902
|
don't remove the child on wait/kill
- important for wait with timout(0) as we may want to try again until the process has realy exited.
- make process_release release the process instead
|
2025-08-01 20:33:15 +02:00 |
|
Bennet Bleßmann
|
97e2e5d7f0
|
implement process_release/1, process_wait/2, process_wait/3, and process_kill/1
|
2025-08-01 20:27:27 +02:00 |
|
Bennet Bleßmann
|
1ee4f7a55f
|
store child process in machine state
|
2025-08-01 20:21:36 +02:00 |
|
Bennet Bleßmann
|
43dd1587fb
|
handle some error cases and replace unwrap with expect
|
2025-08-01 20:21:23 +02:00 |
|
Bennet Bleßmann
|
183761eba4
|
adjust default cwd
|
2025-08-01 20:20:41 +02:00 |
|
Bennet Bleßmann
|
82e989f631
|
add comments and try to fix binding the child process pid
|
2025-08-01 20:20:20 +02:00 |
|
Bennet Bleßmann
|
2b052bf8dd
|
fix more things
|
2025-08-01 20:20:09 +02:00 |
|
Bennet Bleßmann
|
003e9d4610
|
get it working
|
2025-08-01 20:19:54 +02:00 |
|
Bennet Bleßmann
|
d79ece2497
|
fix indices
|
2025-08-01 20:18:44 +02:00 |
|
Bennet Bleßmann
|
ae0baf4893
|
[WIP] add support to spawn new processes
|
2025-08-01 20:18:13 +02:00 |
|
Bennet Bleßmann
|
0c2c6124eb
|
support cstr as an ffi return type and do some more restructuring
|
2025-08-01 19:41:56 +02:00 |
|
Bennet Bleßmann
|
36bdab84ba
|
further cleanup
- replace macros with functions
- stop abusing allocation error
|
2025-08-01 19:10:49 +02:00 |
|
Bennet Bleßmann
|
3d2439c92b
|
use libffi::middle instead of libffi::low were possible
|
2025-08-01 19:09:56 +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
|
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
|
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
|
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
|
a639fec153
|
fix match/if-let can be simplified to ?
|
2025-07-31 21:47:03 +02:00 |
|