Skip to content

Instantly share code, notes, and snippets.

View mati865's full-sized avatar

Mateusz Mikuła mati865

  • małopolskie, Poland
  • 23:53 (UTC +01:00)
View GitHub Profile
$ cargo asm --build-type debug --rust --comments --directives simd_errors::main
.file 24 "D:\\Projekty\\simd_errors\\src\\main.rs"
.loc 24 3 0
.seh_proc _ZN11simd_errors4main17hd90603d869f7ed37E
subq $1112, %rsp
.seh_stackalloc 1112
.seh_endprologue
.loc 24 4 12 prologue_end
leaq 240(%rsp), %rcx
@mati865
mati865 / no_std linker gnu
Last active February 5, 2019 14:19
rust musl no_std
"cc"
"-Wl,--as-needed"
"-Wl,-z,noexecstack"
"-m64"
"-L"
"/home/mateusz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib"
"/home/mateusz/testing/target/debug/deps/testing-615c24fcc1510c5c.uu0m9hidv32rx2a.rcgu.o"
"-o"
"/home/mateusz/testing/target/debug/deps/testing-615c24fcc1510c5c"
"-Wl,--gc-sections"

Keybase proof

I hereby claim:

  • I am mati865 on github.
  • I am mati865 (https://keybase.io/mati865) on keybase.
  • I have a public key ASAMLJWktWomIdi3PvQmgnbOkRl8Ilj4Nu0flE7I5giptAo

To claim this, I am signing this object:

@mati865
mati865 / kubernetes-latest-image.md
Created August 30, 2018 19:34 — forked from BrandonPotter/kubernetes-latest-image.md
Force Kubernetes to pull latest container image in a deployment

Force Kubernetes to pull latest container image in a deployment

kubectl patch deployment DEPLOYMENT_NAME -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
From b982d34e1e835a98d2ebacaaa48e6acc75390c0a Mon Sep 17 00:00:00 2001
From: Mateusz Mikula <[email protected]>
Date: Sat, 18 Mar 2017 11:34:24 +0100
Subject: [PATCH] add missing libs
---
src/liballoc_jemalloc/build.rs | 2 +-
src/libpanic_unwind/gcc.rs | 1 +
src/librustc_llvm/ffi.rs | 1 +
src/libunwind/build.rs | 1 +
@mati865
mati865 / npm
Created February 26, 2017 15:18
==> Zaczynam build()...
[email protected] D:\projekty\msys2\MINGW-packages\mingw-w64-npm\src\npm-4.3.0
`-- [email protected]
[email protected] D:\projekty\msys2\MINGW-packages\mingw-w64-npm\src\npm-4.3.0
`-- [email protected]
scripts/doc-build.sh doc/cli/npm-access.md man/man1/npm-access.1
scripts/doc-build.sh doc/cli/npm-adduser.md man/man1/npm-adduser.1
scripts/doc-build.sh doc/cli/npm-bin.md man/man1/npm-bin.1
@mati865
mati865 / llvm tests
Last active February 14, 2017 19:08
LLVM :: Transforms/SampleProfile/fnptr.ll killed from task manager due because it took more than 1 hour
-- Testing: 19711 tests, 2 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60
FAIL: LLVM :: ExecutionEngine/OrcMCJIT/load-object-a.ll (12385 of 19711)
******************** TEST 'LLVM :: ExecutionEngine/OrcMCJIT/load-object-a.ll' FAILED ********************
Script:
--
rm -rf D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir2 D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir3
mkdir -p D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir2 D:/projekty/msys2/MINGW-packages/mingw-w64-clang-s
@mati865
mati865 / clang-svn
Last active February 14, 2017 19:10
-- Testing: 10413 tests, 2 threads --
Testing: 0 .. 10.. 20.. 30..
FAIL: Clang :: Driver/mingw.cpp (3959 of 10413)
******************** TEST 'Clang :: Driver/mingw.cpp' FAILED ********************
Script:
--
D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/./bin/clang.EXE -target i686-windows-gnu -rtlib=platform -c -### --sysroot=D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/llvm/tools/clang/test/Driver/Inputs/mingw_clang_tree/mingw32 D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/llvm/tools/clang/test/Driver/mingw.cpp 2>&1 | D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/./bin/FileCheck.EXE -check-prefix=CHECK_MINGW_CLANG_TREE D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/llvm/tools/clang/test/Driver/mingw.cpp
D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/./bin/clang.EXE -target i686-pc-windows-gnu -rtlib=platform -stdlib=libstdc++ -c -### --sysroot=D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/ll
MINGW64 ~
$ ls /mingw64/bin | grep '\-[0-9]'
2to3-3.5
apr-1-config
apu-1-config
avcodec-57.dll
avdevice-57.dll
avfilter-6.dll
avformat-57.dll
avresample-3.dll