summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/files/target-rust-ccld.c
blob: d3d491fb60f6f5ef14d552cd045bfd9cdf8a044c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
*
* Copyright (C) 2022      Wind River Systems
*
* SPDX-License-Identifier: MIT
*
*/

#include <string.h>
#include <stdlib.h>
#include <unistd.h>

int main (int argc, char *argv[])
{
    unsetenv("LD_LIBRARY_PATH");
    execvp("target-rust-ccld-wrapper", argv);

    return 0;
}