$ cargo build
Compiling enet-sys v0.2.3 (/some/local/path/gits/enet-sys)
warning: `extern` block uses type `u128`, which is not FFI-safe
--> /some/local/path/gits/enet-sys/target/debug/build/enet-sys-d162a1864a0ef054/out/bindings.rs:798:10
|
798 | ) -> u128;
| ^^^^ not FFI-safe
|
= note: `#[warn(improper_ctypes)]` on by default
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
// SPDX-License-Identifier: BSD-2-Clause | |
// | |
// Copyright (c) 2016-2018, NetApp, Inc. | |
// All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// | |
// 1. Redistributions of source code must retain the above copyright notice, | |
// this list of conditions and the following disclaimer. |
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
#!/bin/bash | |
set -e | |
set -o | |
set -u | |
function pull_libc++37 { | |
DEST="$1" | |
pushd ${DEST}/projects | |
git clone --single-branch --branch release_37 --depth 1 https://github.com/llvm-mirror/libcxx.git libcxx |
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 | |
Compiling vec_map v0.4.0 | |
Compiling tuple_utils v0.2.0 | |
Compiling custom_derive v0.1.5 | |
Compiling crossbeam v0.2.10 | |
Compiling winapi-build v0.1.1 | |
Compiling libc v0.1.12 | |
Compiling smallvec v0.2.1 | |
Compiling winapi v0.2.8 | |
Compiling kernel32-sys v0.2.2 |
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
running 2 tests | |
test test_fooblubb has been running for over 60 seconds | |
test test_fooblubb2 has been running for over 60 seconds | |
test test_fooblubb2 ... ok | |
test test_fooblubb ... ok | |
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured |
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 mio; | |
use mio::{event, EventLoop, Handler, Token, IoWriter}; | |
use mio::buf::{SliceBuf}; | |
use mio::net::{SockAddr, Socket}; | |
use mio::net::udp::{UdpSocket}; | |
const CLIENT: Token = Token(0); | |
struct UdpClientHandler { |
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
[ | |
{ | |
"directory": "/tmp/yl-build", | |
"command": "/usr/bin/clang++ -g -I/home/felix/gits/yololand/src -Wall -Werror -std=c++11 -o CMakeFiles/server.dir/src/server/main.cc.o -c /home/felix/gits/yololand/src/server/main.cc", | |
"file": "/home/felix/gits/yololand/src/server/main.cc" | |
}, | |
{ | |
"directory": "/tmp/yl-build", | |
"command": "/usr/bin/clang++ -g -I/home/felix/gits/yololand/src -Wall -Werror -std=c++11 -o CMakeFiles/server.dir/src/common/Network/Packets/StringPacket.cc.o -c /home/felix/gits/yololand/src/common/Network/Packets/StringPacket.cc", |