Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/cargo-component
/ root
Method
root
tests/support/mod.rs:317–319 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
315
}
316
317
pub fn root(&self) -> &Path {
318
&self.root
319
}
320
321
pub fn dir(&self) -> &Rc<TempDir> {
322
&self.dir
Callers
15
it_finds_errors
Function · 0.80
it_regenerates_target_if_wit_changed
Function · 0.80
it_builds_with_local_wit_deps
Function · 0.80
empty_world_with_dep_valid
Function · 0.80
it_builds_with_resources
Function · 0.80
it_builds_resources_with_specified_ownership_model
Function · 0.80
it_builds_with_a_component_dependency
Function · 0.80
it_errors_if_adapter_is_not_wasm
Function · 0.80
it_adds_additional_derives
Function · 0.80
it_builds_with_versioned_wit
Function · 0.80
it_publishes_a_component
Function · 0.80
it_publishes_a_dependency
Function · 0.80
Calls
no outgoing calls
Tested by
15
it_finds_errors
Function · 0.64
it_regenerates_target_if_wit_changed
Function · 0.64
it_builds_with_local_wit_deps
Function · 0.64
empty_world_with_dep_valid
Function · 0.64
it_builds_with_resources
Function · 0.64
it_builds_resources_with_specified_ownership_model
Function · 0.64
it_builds_with_a_component_dependency
Function · 0.64
it_errors_if_adapter_is_not_wasm
Function · 0.64
it_adds_additional_derives
Function · 0.64
it_builds_with_versioned_wit
Function · 0.64
it_runs_test_with_command_component
Function · 0.64
it_runs_test_with_reactor_component
Function · 0.64