run and validate with
rm -f extrafield.zip && python add_unix_extra_field.py && zipinfo -v extrafield.zip
this should show
Archive: extrafield.zip
[package] | |
name = "wasmer-bug" | |
version = "0.1.0" | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
wasmer = "2.0.0" | |
wasmer-wasi = "2.0.0" |
program { | |
mod "UserApp" { | |
type "jY\xe2\xcd\xd2\xfd/t" = type_10 where { | |
type type_0 = "UserApp"::"jY\xe2\xcd\xd2\xfd/t"; | |
type type_1 = "UserApp"::"jY\xe2\xcd\xd2\xfd/t"; | |
type type_2 = (type_0, type_1); | |
type type_3 = (); | |
type type_4 = (type_3); | |
type type_5 = heap_cell; | |
type type_6 = (type_5); |
#[repr(C)] | |
#[derive(Default)] | |
struct ethtool_ts_info { | |
cmd: u32, | |
so_timestamping: u32, | |
phc_index: u32, | |
tx_types: u32, | |
tx_reserved: [u32; 3], | |
rx_filters: u32, | |
rx_reserved: [u32; 3], |
let mapleader="," | |
" unset the mouse | |
set mouse= | |
au BufRead,BufNewFile *.elm set filetype=elm | |
" copy to system clipboard | |
" see http://askubuntu.com/questions/347519/unable-to-copy-from-vim-to-system-clipboard | |
set clipboard=unnamedplus |
use std::io::{Error, ErrorKind}; | |
use std::net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket}; | |
use std::os::unix::io::AsRawFd; | |
use tokio::io::unix::AsyncFd; | |
use tokio::io::Interest; | |
pub(crate) fn cerr(t: libc::c_int) -> std::io::Result<libc::c_int> { | |
match t { |
use std::net::SocketAddr; | |
use std::os::unix::io::AsRawFd; | |
use std::thread; | |
use mio::net::UdpSocket; | |
use mio::{Events, Interest, Poll, Token}; | |
const SOCKET_TOKEN: Token = Token(0); | |
fn main() { |
app "brainroc" | |
packages { | |
pf: "https://github.com/roc-lang/basic-cli/releases/download/0.3.2/tE4xS_zLdmmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk.tar.br", | |
} | |
imports [ | |
pf.File, | |
pf.Path, | |
pf.Stdout, | |
pf.Task, | |
] |
app "brainroc" | |
packages { | |
pf: "https://github.com/roc-lang/basic-cli/releases/download/0.3.2/tE4xS_zLdmmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk.tar.br", | |
} | |
imports [ | |
pf.File, | |
pf.Path, | |
pf.Stdout, | |
pf.Task, | |
] |
// compile with | |
// | |
// $ clang -shared -o libcrc32.so -Wall -Werror -fpic -march=native -O3 crc32.c | |
// | |
// This command only works on x86_64 systems that support the pclmulqdq instruction. | |
#include <immintrin.h> | |
#include <wmmintrin.h> | |
#include <smmintrin.h> // _mm_extract_epi32 | |
#include <inttypes.h> | |
#include <stdio.h> |
run and validate with
rm -f extrafield.zip && python add_unix_extra_field.py && zipinfo -v extrafield.zip
this should show
Archive: extrafield.zip