builtin: tag array methods unsafe: *_many, grow_len, pointers (#8983)

This commit is contained in:
Nick Treleaven 2021-02-26 21:55:09 +00:00 committed by GitHub
parent 8874379c48
commit 23f231ee61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 10 deletions

View file

@ -213,7 +213,7 @@ pub fn (mut ts TestSession) test() {
ts.nmessage_idx = 0
go ts.print_messages()
pool_of_test_runners.set_shared_context(ts)
pool_of_test_runners.work_on_pointers(remaining_files.pointers())
pool_of_test_runners.work_on_pointers(unsafe { remaining_files.pointers() })
ts.benchmark.stop()
ts.append_message(.sentinel, '') // send the sentinel
_ := <-ts.nprint_ended // wait for the stop of the printing thread