We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 419101d commit d2041a3Copy full SHA for d2041a3
crates/bitwarden-crypto/src/uniffi_support.rs
@@ -74,3 +74,10 @@ impl UniffiCustomTypeConverter for SensitiveVec {
74
obj.expose().to_owned()
75
}
76
77
+
78
+/// Uniffi doesn't seem to be generating the SensitiveVec unless it's being used by
79
+/// a record somewhere. This is a workaround to make sure the type is generated.
80
+#[derive(uniffi::Record)]
81
+struct SupportSensitiveVec {
82
+ sensitive_string: SensitiveVec,
83
+}
0 commit comments