MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / extra

Method extra

misc/python/materialize/mzbuild.py:608–621  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

606 return set(CargoPreImage._cargo_shared_inputs())
607
608 def extra(self) -> str:
609 # Cargo images depend on the release mode and whether
610 # coverage/sanitizer is enabled.
611 flags: list[str] = []
612 if self.rd.profile == Profile.RELEASE:
613 flags += "release"
614 if self.rd.profile == Profile.OPTIMIZED:
615 flags += "optimized"
616 if self.rd.coverage:
617 flags += "coverage"
618 if self.rd.sanitizer != Sanitizer.none:
619 flags += self.rd.sanitizer.value
620 flags.sort()
621 return ",".join(flags)
622
623
624class CargoBuild(CargoPreImage):

Callers

nothing calls this directly

Calls 2

sortMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected