# stage2: enable building compiler_rt when using LLVM backend · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/99961f22dca7e01b85b7819dcea814ad01b65af5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 99961f22dca7e01b85b7819dcea814ad01b65af5

Requested commit: 99961f22dca7e01b85b7819dcea814ad01b65af5

Commit: 99961f22dca7e01b85b7819dcea814ad01b65af5

Tree: 9c788bb803cf52cbb9928137b811b915097b46a7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: enable building compiler_rt when using LLVM backend

 * AstGen: fix emitting `store_to_inferred_ptr` when it should be emitting
   `store` for a variable that has an explicit alignment.
 * Compilation: fix a couple memory leaks
 * Sema: implement support for locals that have specified alignment.
 * Sema: implement `@intCast` when it needs to emit an AIR instruction.
 * Sema: implement `@alignOf`
 * Implement debug printing for extended alloc ZIR instructions.

```

## Parents

- [33e77f127d8237088b561fae2ca0f4412bc1d6c9](https://git.cafe/gitcafe/zig/commit/33e77f127d8237088b561fae2ca0f4412bc1d6c9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/99961f22dca7e01b85b7819dcea814ad01b65af5?format=markdown)
