This file contains hidden or 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
| Last login: Sun Jan 13 04:02:38 on ttys000 | |
| macbook:~ vadzim$ nix-build https://github.com/NixOS/nixpkgs/archive/7d864c6bd63.tar.gz -A gnome3.dconf --arg config "{}" \ | |
| > --arg overlays "[ (self: super: { gnome3 = super.gnome3.overrideScope' (self: super: { dconf = super.dconf.overrideAttrs (drv: { doCheck = false; }); }); }) ]" | |
| unpacking 'https://github.com/NixOS/nixpkgs/archive/7d864c6bd63.tar.gz'... | |
| these derivations will be built: | |
| /nix/store/rgh9vjadmq58w1hp4y9wqa12r3zfb3z5-dconf-0.30.1.drv | |
| building '/nix/store/rgh9vjadmq58w1hp4y9wqa12r3zfb3z5-dconf-0.30.1.drv'... | |
| unpacking sources | |
| unpacking source archive /nix/store/canh30a3lr5pmqdr6jgnn01qh4qzyhm2-dconf-0.30.1.tar.xz | |
| source root is dconf-0.30.1 |
This file contains hidden or 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
| macbook:~ vadzim$ | |
| macbook:~ vadzim$ cat .config/nixpkgs/overlays/dconf.nix | |
| self: super: { | |
| gnome3 = super.gnome3.overrideScope' (self: super: { | |
| dconf = super.dconf.overrideAttrs (drv: { | |
| doCheck = false; | |
| }); | |
| }); | |
| } | |
| macbook:~ vadzim$ |
This file contains hidden or 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
| macbook:~ vadzim$ | |
| macbook:~ vadzim$ nix-env -i meld | |
| installing 'meld-3.18.3' | |
| these derivations will be built: | |
| /nix/store/ci5p3awqjm8rqmmzm7p8nfi9whzsj2f5-dconf-0.30.1.drv | |
| /nix/store/pd556bahggcp0bjmi5r3vg6qswk56wlm-hook.drv | |
| /nix/store/qxacixcaxsazhanvz3xmh2iffw6802h8-meld-3.18.3.drv | |
| building '/nix/store/ci5p3awqjm8rqmmzm7p8nfi9whzsj2f5-dconf-0.30.1.drv'... | |
| unpacking sources | |
| unpacking source archive /nix/store/canh30a3lr5pmqdr6jgnn01qh4qzyhm2-dconf-0.30.1.tar.xz |
This file contains hidden or 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
| #![allow(non_snake_case)] | |
| use rand::seq::SliceRandom; | |
| use std::time::Instant; | |
| use std::ops::Deref; | |
| pub struct NonEmptyMaxHeap<T> { | |
| elements: Vec<T>, | |
| } | |
| impl<T: Ord + Copy> NonEmptyMaxHeap<T> { |
This file contains hidden or 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
| macbook:~ vadzim$ | |
| macbook:~ vadzim$ nix-shell -p nix-info --run "nix-info -m" | |
| - system: `"x86_64-darwin"` | |
| - host os: `Darwin 18.2.0, macOS 10.14.2` | |
| - multi-user?: `yes` | |
| - sandbox: `no` | |
| - version: `nix-env (Nix) 2.1.3` | |
| - channels(vadzim): `""` | |
| - channels(root): `"nixpkgs-19.03pre161900.61c3169a0e1"` | |
| - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs` |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| fn print_types<T1, T2, T3>() { | |
| println!("[{}, {}, {}]", | |
| std::mem::size_of::<T1>(), | |
| std::mem::size_of::<T2>(), | |
| std::mem::size_of::<T3>()); | |
| } | |
| fn main() { | |
| print_types::<bool, &[u8], u16>(); |
This file contains hidden or 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
| Process: rustc [67666] | |
| Path: /Users/USER/*/rustc | |
| Identifier: rustc | |
| Version: ??? | |
| Code Type: X86-64 (Native) | |
| Parent Process: bash [67075] | |
| Responsible: rustc [67666] | |
| User ID: 501 | |
| Date/Time: 2018-11-23 00:14:54.697 +0300 |
This file contains hidden or 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
| FAIL: LLVM :: MC/MSP430/addrmode.s (20691 of 28266) | |
| ******************** TEST 'LLVM :: MC/MSP430/addrmode.s' FAILED ******************** | |
| Script: | |
| -- | |
| : 'RUN: at line 1'; /Users/vadzim/Documents/llvm-build/bin/llvm-mc -triple msp430 -show-encoding < /Users/vadzim/Documents/llvm/test/MC/MSP430/addrmode.s | /Users/vadzim/Documents/llvm-build/bin/FileCheck /Users/vadzim/Documents/llvm/test/MC/MSP430/addrmode.s | |
| -- | |
| Exit Code: 2 | |
| Command Output (stderr): | |
| -- |
This file contains hidden or 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
| #![feature(test)] | |
| extern crate test; | |
| trait Max2 { | |
| type Item; | |
| fn max_by_key2<B: Ord, F>(self, f: F) -> Option<Self::Item> where | |
| Self: Sized, | |
| F: FnMut(&Self::Item) -> B; | |
| } |
This file contains hidden or 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
| use std::thread; | |
| use std::sync::Arc; | |
| fn main() { | |
| let a1 = Arc::new(0); | |
| let mut a2 = a1.clone(); | |
| let t1 = thread::spawn( | |
| move || { |