microkernel icon indicating copy to clipboard operation
microkernel copied to clipboard

[build] Improve Readability of `build.rs`

Open ppenna opened this issue 5 months ago • 0 comments

Description

The build.rs should be improved for code readability: break the huge main function into smaller functions.

A simple idea is to have the following functions:

  • setup_path()
  • setup_toolchain()
  • collect_sources()
  • compile_source()
  • build_archive()

ppenna avatar Sep 08 '24 19:09 ppenna