I want to custom some hal api,so i need to use the standard library build by myself.But I didn't find any tutorials about this.
Can someone guide me? Or provide the tutorial.
Thanks!
Actually,i want to build a program for NS with standard library.But the standard library didn't support the target.So i need to do some custom.
I'm just trying, of course.
Can you describe more what your trying to do? If you mean that you need the standard library for collections and such, you can do this with the command-line arguments -Zbuild-std=core,compiler_builtins,alloc -Zbuild-std-features=compiler-builtins-mem to cargo. You can then (if you want) use a crate like no-std-compat to make it so you can use std::*.
Actually,i want to build a program for NS with standard library.But the standard library didn't support the target.So i need to do some custom.
I'm just trying, of course.