Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/algoscienceacademy/RustUI
/ set_platform
Method
set_platform
src/dev_server.rs:382–385 ·
view source on GitHub ↗
(&mut self, platform: Platform)
Source
from the content-addressed store, hash-verified
380
}
381
382
pub fn set_platform(&mut self, platform: Platform) {
383
self.target_platform = platform;
384
self.rebuild();
385
}
386
387
pub fn rebuild(&mut self) {
388
let mut status = self.status.lock().unwrap();
Callers
2
main
Function · 0.80
run
Method · 0.80
Calls
1
rebuild
Method · 0.80
Tested by
no test coverage detected