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
sudo pacman-key --init | |
sudo pacman-key --populate archlinux | |
sudo pacman-key --populate manjaro | |
sudo pacman-key --refresh-keys | |
sudo pacman -Syyu |
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
# arm-unknown-linux-musl configuration | |
CC_arm-unknown-linux-musl=$(CFG_MUSL_ROOT)/bin/musl-gcc | |
CXX_arm-unknown-linux-musl=notaprogram | |
CPP_arm-unknown-linux-musl=$(CFG_MUSL_ROOT)/bin/musl-gcc -E | |
AR_arm-unknown-linux-musl=$(AR) | |
CFG_INSTALL_ONLY_RLIB_arm-unknown-linux-musl = 1 | |
CFG_LIB_NAME_arm-unknown-linux-musl=lib$(1).so | |
CFG_STATIC_LIB_NAME_arm-unknown-linux-musl=lib$(1).a | |
CFG_LIB_GLOB_arm-unknown-linux-musl=lib$(1)-*.so | |
CFG_LIB_DSYM_GLOB_arm-unknown-linux-musl=lib$(1)-*.dylib.dSYM |
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
From d4437fcdf16cfc74bb2388d02cf754461eef42fd Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]> | |
Date: Tue, 22 Mar 2016 10:35:05 +0100 | |
Subject: [PATCH 100/102] mxs: add power | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
Signed-off-by: Jörg Krause <[email protected]> | |
--- |
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
--[[ | |
The MIT License (MIT) | |
Copyright (c) 2016 Jörg Krause <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
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 futures; | |
extern crate tokio_core; | |
extern crate tokio_uds; | |
use std::io; | |
use std::fs; | |
use std::str; | |
use futures::{Async, Future, Poll, Stream}; | |
use tokio_core::io::read_to_end; |