mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 00:56:15 +02:00
cb90e382b5
This prevents them from being inlined. On gcc 9, this reduces the stack size needed for nix-instantiate '<nixpkgs>' -A texlive.combined.scheme-full --dry-run from 12.9 MiB to 4.8 MiB.
15 lines
189 B
C++
15 lines
189 B
C++
#pragma once
|
|
|
|
#include "eval.hh"
|
|
|
|
#include <chrono>
|
|
|
|
namespace nix {
|
|
|
|
struct FunctionCallTrace
|
|
{
|
|
const Pos & pos;
|
|
FunctionCallTrace(const Pos & pos);
|
|
~FunctionCallTrace();
|
|
};
|
|
}
|