@@ -5131,7 +5131,8 @@ impl Machine {
|
|||||||
self.machine_st.heap.allocate_cstr(valid_str)
|
self.machine_st.heap.allocate_cstr(valid_str)
|
||||||
),
|
),
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
let cells: Vec<_> = cstr.to_bytes()
|
let cells: Vec<_> = cstr
|
||||||
|
.to_bytes()
|
||||||
.iter()
|
.iter()
|
||||||
.map(|&b| fixnum_as_cell!(Fixnum::build_with(b)))
|
.map(|&b| fixnum_as_cell!(Fixnum::build_with(b)))
|
||||||
.collect();
|
.collect();
|
||||||
|
|||||||
@@ -150,4 +150,3 @@ fn http_open_hanging() {
|
|||||||
"received response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\n"
|
"received response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user