mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix doc comments & safety on std::env manipulation
This commit is contained in:
parent
582d02af33
commit
5cd165fe8e
1 changed files with 8 additions and 1 deletions
|
|
@ -339,7 +339,12 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
.add_services(&bao_pkgs)
|
.add_services(&bao_pkgs)
|
||||||
.add_apps(&get_cratespecs());
|
.add_apps(&get_cratespecs());
|
||||||
|
|
||||||
std::env::set_var("UUID", "1234567812345678123456781234567812345678123456781234567812345678");
|
// safe because xtask is single-threaded - the build to setup the emulation run is strictly
|
||||||
|
// single-threaded the read of the variable will be multi-threaded, but it will be set
|
||||||
|
// by that point in time.
|
||||||
|
unsafe {
|
||||||
|
std::env::set_var("UUID", "1234567812345678123456781234567812345678123456781234567812345678");
|
||||||
|
}
|
||||||
// builder.add_feature("modal-testing");
|
// builder.add_feature("modal-testing");
|
||||||
}
|
}
|
||||||
Some("pddb-ci") => {
|
Some("pddb-ci") => {
|
||||||
|
|
@ -1020,6 +1025,8 @@ Hosted emulation:
|
||||||
hosted-debug Run user image in hosted mode with debug flags. [cratespecs] are apps
|
hosted-debug Run user image in hosted mode with debug flags. [cratespecs] are apps
|
||||||
gfx-dev Testing mode for graphics primitives. [cratespecs] are services
|
gfx-dev Testing mode for graphics primitives. [cratespecs] are services
|
||||||
pddb-dev Testing for compilation errors on hardware targets on the PDDB.
|
pddb-dev Testing for compilation errors on hardware targets on the PDDB.
|
||||||
|
hosted-ci Check that precursor hosted mode isn't broken
|
||||||
|
hosted-bao1x-ci Check that bao1x hosted mode isn't broken
|
||||||
|
|
||||||
Renode emulation:
|
Renode emulation:
|
||||||
renode-image Renode user image. Unspecified [cratespecs] are apps
|
renode-image Renode user image. Unspecified [cratespecs] are apps
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue