This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cargo build --package foo | |
Updating crates.io index | |
Compiling num-traits v0.2.6 | |
Compiling winapi v0.3.6 | |
Compiling libc v0.2.45 | |
Compiling cfg-if v0.1.6 | |
Compiling lazy_static v1.2.0 | |
Compiling log v0.4.6 | |
Compiling bar v0.1.0 (C:\Users\Alexandre\Developpement\linkerr\bar) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling nalgebra v0.14.3 (file:///disc/devel/nalgebra) | |
warning: duplicate definitions with name `new` (E0592) | |
--> src/core/construction.rs:489:13 | |
| | |
489 | / pub fn new($($args: N),*) -> Self { | |
490 | | unsafe { | |
491 | | let mut res = Self::new_uninitialized(); | |
492 | | $( *res.get_unchecked_mut($irow, $icol) = $args; )* | |
... | | |
495 | | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate nanovg as nvg; | |
use std::rc::Rc; | |
use std::cell::RefCell; | |
use std::collections::HashMap; | |
struct ImageCache<'ctx> | |
{ | |
context: &'ctx nvg::Context, | |
// Remove RefCell and it compiles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate yoga; | |
fn main() { | |
let mut children = Vec::new(); | |
let mut root = yoga::Node::new(); | |
for i in 0..1000 { | |
let mut c = yoga::Node::new(); | |
root.insert_child(&mut c, 0); | |
children.push(c); |