commit 620aa0c7aee83de33d6a966dfa86dc8972dd8738
Author: Haoxiang Fei <feihaoxiang@idea.edu.cn>
Date:
fix(tools): migrate the data generator to current async APIs
The current toolchain renamed two APIs the generator used:
- `@http.get_text` became `@http.get`, whose body is a `MessageBody`
decoded with `.text()`;
- `@fs.mkdir(allow_exist=..)` became `allow_existing=..`.
Also fix the last `StringBuilder(size_hint=..)` left in
`ucd/case_mapping`, which `moon check --target all` reports.
Co-Authored-By: SeekMoon <seekmoon@moonbitlang.com>