build(rust): vendor googletest crate

This commit was merged in pull request #76.
This commit is contained in:
alexion committed 2026-09-19 14:53:22 -04:00
1 parent a6fe84190e
commit 6887b104d6
576 files changed
+284290 -2

No files matched your search

@@ -0,0 +1,29 @@
//! This is for testing only to provide fully-qualified struct paths to macros.
#[doc(hidden)]
#[derive(Debug)]
pub struct TestStruct {
#[doc(hidden)]
pub value: u32,
}
impl TestStruct {
#[doc(hidden)]
pub fn get_value(&self) -> u32 {
self.value
}
}
#[doc(hidden)]
#[derive(Debug)]
pub struct GenericTestStruct<T> {
#[doc(hidden)]
pub value: T,
}
impl<T> GenericTestStruct<T> {
#[doc(hidden)]
pub fn get_value<U>(&self, a: U) -> U {
a
}
}