#[link(name = "raiburari")] extern { fn foo(script: *const libc::c_char, cb: extern fn(* const libc::c_char) -> c_int ) } rustcã®ã³ãã³ãã©ã¤ã³ã§ã¯-Lãªãã·ã§ã³ãããã®ã§ãCã¨åæ§ã«å ±æã©ã¤ãã©ãªã® ãã¹ãæå®ãããã¨ãå¯è½ãã³ã¼ãä¸ã§æå®ããlibraiburariãã©ãã«ãã£ã¦ãåç §ã§ããã ããããCargoã使ã£ã¦ãããããããæ¹ããªããªãåãããªãã£ãã é©ãã®çµæ ãªãã¨ãbuild.rsããããã¡ã¤ã«ãä½æãã¦ãrustã§æ¨æºåºåã«ãªãã·ã§ã³ã® æååãåºåããã³ã¼ããæ¸ããã¨ã§ããããå¯è½ã«ãªããã¨ãåãã£ãã å ±æã©ã¤ãã©ãªã®æ¤ç´¢ãã¹ã¯ä»¥ä¸ã®ãªãã·ã§ã³ cargo:rustc-link-search build.rsã®ä¸èº«
{{#tags}}- {{label}}
{{/tags}}