The Wayback Machine - https://web.archive.org/web/20210907031126/https://github.com/topics/rust-library
Skip to content
#

rust-library

Here are 1,024 public repositories matching this topic...

nabijaczleweli
nabijaczleweli commented Jul 8, 2020

Tested on 5dc12afc4e0e506183898fc56d3bdc9ce6a0b6d7 (current HEAD) and 1.3.1 off Crates.io.

Given the following setup:

{# parent #}
{% block henlo %}
henlo
{% endblock %}

{# macro #}
{% macro benlo() %}
trenlo
{% endmacro benlo %}

{# child #}
{% extends "parent" %}
{% import "macro" as macros %}

{% block henlo %}
{{ super() }}
menlo
{{ macros::benlo() }}
{% endbloc
p-e-w
p-e-w commented May 23, 2021

It appears that the RedBPF toolchain imposes currently undocumented restrictions on map value types that go beyond those expressed by the generic constraints:

  • All variants of an enum must have the same size in memory.
  • Struct fields are (mostly?) required to be aligned to multiples of 32 bits, though sometimes 64-bit alignment is required, and some structs don't work at all despite their fi
TheThing
TheThing commented Aug 16, 2021
PS C:\Users\jonatan\Downloads\hello-world-rs> docker build -t hello-world-rs .
Sending build context to Docker daemon  336.9kB
Step 1/5 : FROM rust:1.31
1.31: Pulling from library/rust
cd8eada9c7bb: Pull complete
c2677faec825: Pull complete
fcce419a96b1: Pull complete
045b51e26e75: Pull complete
3b969ad6f147: Pull complete
2074c6bfed7d: Pull complete
Digest: sha256:e2c4e3751290e30c3

Improve this page

Add a description, image, and links to the rust-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rust-library topic, visit your repo's landing page and select "manage topics."

Learn more