fix: no_std

This commit is contained in:
Carson M.
2026-03-02 18:48:22 -06:00
parent a08efe6147
commit e9666c7f00

View File

@@ -394,7 +394,13 @@ impl SessionBuilder {
/// ```
#[cfg(feature = "api-22")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-22")))]
pub fn with_devices<'e>(mut self, devices: impl IntoIterator<Item = crate::device::Device<'e>>, options: Option<&[(String, String)]>) -> BuilderResult {
pub fn with_devices<'e>(
mut self,
devices: impl IntoIterator<Item = crate::device::Device<'e>>,
options: Option<&[(alloc::string::String, alloc::string::String)]>
) -> BuilderResult {
use alloc::vec::Vec;
use smallvec::SmallVec;
use crate::util::{MiniMap, with_cstr_ptr_array};