musikr: cleanup
This commit is contained in:
parent
2d7cafbdbf
commit
774b2a90bb
3 changed files with 3 additions and 3 deletions
|
@ -23,4 +23,4 @@ link-cplusplus = {version = "1.0.9", features = ["nothing"]}
|
|||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
strip = true
|
|
@ -144,7 +144,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
println!("cargo:rustc-link-lib=static=tag");
|
||||
println!("cargo:rerun-if-changed=taglib/");
|
||||
|
||||
configure_cxx_bridge(&target)?;
|
||||
configure_cxx_bridge(&target)?;
|
||||
if target.contains("android") {
|
||||
// Magic linker flags that statically link the C++ runtime
|
||||
// and exception handling to the library.
|
||||
|
|
|
@ -95,7 +95,7 @@ impl<'local, 'file_ref> JMetadataBuilder<'local, 'file_ref> {
|
|||
pub fn set_xiph(&mut self, tag: &mut xiph::XiphComment<'file_ref>) {
|
||||
for (key, values) in tag.field_list_map().to_hashmap() {
|
||||
let values: Vec<String> = values.to_vec().into_iter().map(|s| s.to_string()).collect();
|
||||
self.xiph.add_id_list(key.to_uppercase(), values);
|
||||
self.xiph.add_custom_list(key.to_uppercase(), values);
|
||||
}
|
||||
self.set_flac_pictures(&tag.picture_list());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue